- This topic has 7 replies, 3 voices, and was last updated 1 year, 8 months ago by David.
-
AuthorPosts
-
August 24, 2022 at 1:33 pm #2322862Karina
Hello
I upgraded my hosting to a PHP version to 7.4.
After the upgrade I have been getting the following error when I try to add some pictures in a draft (not all)“This block has encountered an error and cannot be previewed”.
I have the plugin Enable jQuery Migrate Helper but the problem remains. I have also try disabling all plugins except GP premium to test.
My hosting company wrote the following msg:
The issue might be that the theme or some of the plugins are not compatible with PHP 7.4.Can you help me?
August 24, 2022 at 2:29 pm #2322896LeoStaffCustomer SupportHi there,
I have also try disabling all plugins except GP premium to test.
So that didn’t resolve the issue?
If so can you try #4 here?
https://docs.generatepress.com/article/debugging-tips/We haven’t had any other reports on this so I doubt it’s a GP issue. PHP7.4 isn’t new either.
August 25, 2022 at 2:45 am #2323270KarinaHello Leo
Thanks for looking into my problem.
I activated the core WordPress theme and the problem remained. So I would think that is not a Generatepress problem.
Anyway my host company insist that the problem is related to the theme. They wrote me the following msg:We noticed in the theme section the message below:
“Broken Themes
The following themes are installed but incomplete.”
You need to contact your theme developer about this issue.
And also we enabled the debug option in WordPress and there is no relevant information about this issue.
Based on our research, this kind of issue is all related to themes.Does this make any sense for you?
August 25, 2022 at 4:03 am #2323334DavidStaffCustomer SupportHi there,
can you resupply the admin user Login and Password in the Private Information Field.
August 25, 2022 at 7:56 am #2323665KarinaThanks!
August 25, 2022 at 8:05 am #2323678DavidStaffCustomer SupportOK, so in Dashboard > Tools -> Site Health. and there is a warning that site is NOT using HTTPS.
Go to Settings > General and update theWordPress Address (URL)
andSite Address (URL)
so they arehttps
Then go to Settings > Permalinks and click save changes this will regenerate any permalinks.
I cannot say if this is the cause of the block error but it needs to be fixed first.
August 28, 2022 at 1:19 am #2325968KarinaThanks! I fix the problem that you mention but I continue getting an error (This block has encountered an error and cannot be previewed.) when I try to add one of my pictures https://enviajes.cl/wp-content/uploads/2014/10/Chile-Fotos-Antartica.jpg
I only get the error with that image. I have tried many others and it goes well.
August 28, 2022 at 7:54 am #2326342DavidStaffCustomer SupportIf the issue only occurs with that image, then it maybe a database issue.
Delete that image.
Then re-upload that image to WordPress > Media with a different filename. ie. It must be different to:Chile-Fotos-Antartica.jpg
-
AuthorPosts
- You must be logged in to reply to this topic.