Archived topic
Conflict between GP Premium and reusable blocks
17 replies · Started by Victor on October 23, 2022
I recently activated Generatepress Premium and my reusable blocks are gone
I can still access them through the link /wp-admin/edit.php?post_type=wp_block, but I can't access them in the editor, when I deactivate the GP Premium plugin, the reusable blocks come back.
Can anyone help me?
Hi Victor,
To clarify, do you mean this one is missing?: https://share.getcloudapp.com/d5unQbW9
If so, can you try #1 here?: https://docs.generatepress.com/article/debugging-tips/
that's exactly what disappeared, I can't even look for the reusable blocks by name.
I did as in step number 1, I deactivated all the plugins and activated one by one, finally I activated GP Premium, only when activating GP Premium that the reusable blocks disappeared
I see. That's odd.
Can you provide admin login credentials so we can take a closer look?
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
the site is on a local host, tomorrow I will leave it online every day and send you an access link with credentials
I see. If you have custom code added through a Hook Element, try setting them to draft temporarily as well.
I'm using Local WP to create the site locally
When you open the link, it will ask for login and password, then it will ask again to access wp-admin
Hi there,
what happens if you disable all other plugins ? And just leave GP premium enabled ?
Only GP premium enabled:

Only GP Premium disabled:

List of plugins:

Hi Victor,
In order to use the GP premium's elements module, there's certain requirement for your server.
Can you try Increasing PHP Memory Limit?
https://docs.generatepress.com/article/increasing-php-memory-limit/
I migrated the site from localhost to the hostinger's server, I increased the php memory limit and the reusable blocks still don't appear, in the editor where I used them, an error message appears. But outside the editor the blocks appear normally
I can't seem to open the live link anymore. Is it no longer live? If so, can you put it up once more, and we'll try to check again if there's anything we can see in your backend that may cause the issue.
Before it was running on localhost, now I put it on Hostinger servers for you to have full access and check the error, this is a copy of the site, because I will continue creating through LocalWP, below the link and login (Private information)
feel free to change the settings of the site, because as I said, it's just a copy of the site to check the error
Hi there,
This is a strange one as Elements should have no control over this. I also can't reproduce the issue on any of our test or live servers.
When viewing the Network tab of your "Add Page" page, we can see the REST API request responsible for getting reusable blocks is returning a 503 error, which is why it isn't working: https://www.screencast.com/t/mERMojoWT
You've had this happen on the same site using a localhost and a real host? If so, it shouldn't be a hosting issue, which is weird because a "Service Unavailable" error is usually hosting/server related.
Are there any recent errors in your error_log?
Yes, I tested it on localhost and on real host, the first link that had been sent on localhost is now on the hostinger's servers.
I created the wordpress installation through LocalWP could it be some configuration of the wordpress core?
I created the local installation and then migrated along with the databases manually to Hostinger servers