- This topic has 19 replies, 3 voices, and was last updated 5 years ago by
Leo.
-
AuthorPosts
-
March 24, 2021 at 4:18 am #1707661
Dominique
Hi,
While troubleshooting a supporter at Wp Rocket noticed that </body> the closing body tag is missing on almost all pages using “View Page Source” so prior to any error correction done by browser.
In her own words: “Closing </body> tag comes with your theme files” “This may cause some issues. WP Rocket and other plugins/functionalities often rely on the <body> tag.”
Please advise
March 24, 2021 at 5:20 am #1707731David
StaffCustomer SupportHi there,
thats correct the Theme outputs the closing
</body>in the footer.php template as seen here:If its not being output then that means something else is breaking that functionality – it could be another plugin or custom function or script added to a GP Hook Element that is breaking the code.
March 24, 2021 at 7:44 am #1708176Dominique
Hi David,
Beurk!
I will disable all plugins and gradually re-enable them until I find the culprit.
As for custom function or script added to a GeneratePress hook I only used the ones in GeneratePress documentation and the ones that support supplied to me.
If issue doesn’t get solved with the plugins will you be able to troubleshoot if I give you admin access?
March 24, 2021 at 10:47 am #1708431Dominique
Hi,
I disabled ALL plugins & hooks that get disabled when code snippets plugin is disabled. Still no </body> closing body tag on almost all pages except the home page in French.
Please advise
March 24, 2021 at 11:34 am #1708495Leo
StaffCustomer SupportThis really can’t be a theme issue – our support forum would be flooded with this by now.
Just to confirm, the issue occurs with All plugins (including GP Premium) and custom functions disabled?
Can you also make sure you are using a parent theme and not a child theme?
Do you see the line David indicated here?
https://github.com/tomusborne/generatepress/blob/b60b853630da6d9015722da903e53c8064148b0a/footer.php#L64March 24, 2021 at 11:53 am #1708519Dominique
Hi,
I’m just the messenger. Please don’t shoot the messenger ๐
Not certain that your support forum would be flooded since to my understanding browsers will correct the missing closing body tag. This is the article that was linked to me by WP Rocket support: https://www.seoptimer.com/blog/view-source-chrome/#View-source-vs.-Inspect-element
“I disabled ALL plugins & hooks that get disabled when code snippets plugin is disabled.” Yup ALL plugins. Zero plugins enabled. Nada Zilch. Just to confirm ๐
I DO NOT have a child theme.
I saw the line in the link. Just to make things clear. I have no idea why the closing body tag is not there on almost all pages with ALL plugins disabled. I am not a coder. I’m doing my best with the information that I got with WP Rocket support.
Also sincerely I don’t like your attitude and your replies. I find you to be conflictual and abrasive and stand beside my affirmation that you need a serious dose of vitamin D procured by a vacation in a tropical destination to kick the grumpy and bumpy out of you. Just my two cents. David has a nice smile and attitude ๐
Let’s move forward…
March 24, 2021 at 12:21 pm #1708544Dominique
To help troubleshoot this I will create a staging site on separate instance as destroying the layout of the website by disabling all plugins is not too pretty on a live site.
March 24, 2021 at 1:27 pm #1708590Leo
StaffCustomer SupportSounds good.
Before you create a staging site, can you create a fresh install and run the test to see if the issue exists?
And does the issue exists in a Twenty series WP theme?
March 24, 2021 at 1:48 pm #1708614Dominique
Hi,
I tried storefront. Since I was doing a troubleshooting procedure for WooCommerce with missing Apple Pay & Google Pay buttons. I found that the buttons don’t appear on appointable products from WooCommerce Appointments plugin but appear on “normal” products. Another issue. They just keep coming…
Since the frontend looked like total poop. I rushed through and activated the plugins. So my answer is: I don’t know, just a blob and sure beats me ๐
By the way this whole missing end body tag discovery came from WP-Rocket helping me figure out the CLS issue using the Gutenberg gallery ๐ I also opened a support ticket on WordPress.org in the Gutenberg section. After 6 days no replies. I also found this: https://github.com/WordPress/gutenberg/issues/24527 so when I told you guys and gals that reporting issues to WordPress is a total waste of time. This is a perfect example. It hasn’t even been assigned since August 12, 2020. Support at WordPress doesn’t really exist…
I’m building an instance now with a companionship beer. I will troubleshoot it without being preoccupied of the font end and get back to you.
March 24, 2021 at 2:30 pm #1708647Dominique
Hi
I created a blank instance. Installed GeneratePress and created a basic test page:
view-source:http://35.182.246.206/test/
The closing body tag is not there ๐
Please advise
March 24, 2021 at 4:02 pm #1708693Leo
StaffCustomer SupportThat is strange indeed. I just did a fresh install here:
https://wordpress-202309-991531.cloudwaysapps.com/sample-page/And the
<body>tag is there:
https://www.screencast.com/t/MSfq6JTfbx2Any chance you can activate a Twenty series theme to test if the issue is fixed there?
Let me know ๐
March 24, 2021 at 4:15 pm #1708700Dominique
Hi,
I also tried a twenty series theme and the issue is still there.
As a kind of more than basic WordPress user I’m stumped and also dazed and confused.
There is no CDN. I installed nothing else. It’s a Bitnami WordPress NGINX With SSL install version 5.7.0 on Amazon Web Services.
I don’t get it!
I put in Private Information admin login.
For some reason or another whatever is happening transports over to my complete install.
Please advise
March 24, 2021 at 4:21 pm #1708708Leo
StaffCustomer SupportI also tried a twenty series theme and the issue is still there.
So that means it’s not a theme issue and not something we can fix within GP or advise on.
I would recommend checking with Amazon Web Services and show them the issue in a Twenty series theme and see if they have heard a similar issue before.
Sorry about that!
March 24, 2021 at 4:22 pm #1708709Dominique
I saw that coming from a mile away ๐
March 24, 2021 at 4:24 pm #1708711Leo
StaffCustomer SupportI also saw that it really can’t be a GP issue a mile away ๐
Definitely check with their support.
-
AuthorPosts
- You must be logged in to reply to this topic.