- This topic has 11 replies, 4 voices, and was last updated 4 years, 6 months ago by
Ying.
-
AuthorPosts
-
September 22, 2021 at 7:06 am #1939076
Gustavo E.
Hello,
I have a problem with one of the hooks I apply in “generate_after_header” in the following sections “Shop Page”, “Product Category” and “Product Category Archive”.
The problem that occurs is that in the store page this hook is not shown.
Activating WP Debug I get the following.
Header
Notice: Constant WP_MEMORY_LIMIT already defined in /home/mydirectory/public_html/wp-config.php on line 185
Notice: Constant WP_POST_REVISIONS already defined in /home/mydirectory/public_html/wp-config.php on line 188
Footer
Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/mydirectory/public_html/wp-includes/functions.php on line 5107I also leave a screenshot of what the website displays
https://postimg.cc/1fYrbwrwSeptember 22, 2021 at 8:56 am #1939399David
StaffCustomer SupportHi there,
what are you adding to that Hook ?
September 22, 2021 at 6:06 pm #1939738Gustavo E.
In that hook I am adding a banner. Until about two weeks ago it was working without problems. And the plugins are the same, I have not installed anything new.
This hook is displayed in several parts of the site but now it stopped working on the store page.
September 22, 2021 at 9:44 pm #1939841Elvin
StaffCustomer SupportHi there,
In that hook I am adding a banner. Until about two weeks ago it was working without problems. And the plugins are the same, I have not installed anything new.
While the installed plugins may be the same, their automatic updates may cause issues.
That said, can you try disabling ALL plugins except GP Premium and check if the hook element in question reappears?
September 23, 2021 at 9:49 am #1940737Gustavo E.
That’s true, but the installed plugins are not enabled to update automatically.
Anyway I have done this check by deactivating all plugins, leaving only GP Premium and the item is still not displayed in the Shop section.
September 23, 2021 at 10:34 am #1940778Ying
StaffCustomer SupportHi Gustavo,
Is this what you added to the hook?
https://www.screencast.com/t/htkS0ySxABZzIf so, can you try change the content to pure text to see if it works on shop page?
And for the hook location for shop page, are you using
page > shoporproduct archive?Let me know 🙂
September 23, 2021 at 12:47 pm #1940861Gustavo E.
Hi Ying,
Yes, that is what I have added to the hook.
I’ve already tried changing the content to pure text and it still doesn’t appear.
And as for the hook location for the store page, I’m using
page > shopandproduct archive.September 24, 2021 at 4:05 am #1941295David
StaffCustomer SupportAre you able to move the site to a staging server and provide us with temporary admin access to we can take a look at the backend ?
September 28, 2021 at 1:24 pm #1946126Gustavo E.
I have created a subdomain for testing. So all the necessary tests can be performed on that subdomain.
I will leave the means of access.September 28, 2021 at 3:57 pm #1946194Ying
StaffCustomer SupportHi Gustavo,
Are we talking about the
Banner Tiendaelement?If so, there’s no
Product Archivechosen in the location, so it won’t show on shop page.
https://www.screencast.com/t/23ICfXVSWLGeLet me know 🙂
September 28, 2021 at 6:18 pm #1946255Gustavo E.
It’s true, I hadn’t realized that. Although I must say that I do not know why it was modified, since before it was added.
Everything seems to be working for now.
Thank you!
September 29, 2021 at 9:29 am #1947183Ying
StaffCustomer SupportYou are welcome 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.