Home › Forums › Support › PHP8 forced update breaks website Generate Block plugin causes it to crash
- This topic has 7 replies, 3 voices, and was last updated 3 years, 5 months ago by
Jean Paiva.
-
AuthorPosts
-
November 17, 2022 at 4:50 am #2419421
Alexander
Hi Support,
My hosting company is forcing me to upgrade to PHP8. They did so last night, after which my site broke. I’ve updated all plugins, themes and GP premium, but it is pretty clear that GenerateBlocks is causing my site to crash, because when I disable the plugin my site loads and shows things (the layout is just completely messed up because of the blocks plugin not working :/).
Is it possible to make GenerateBlocks PHP8 compatible? Or some other solution that prevents me from having to rebuild my website completely. I’ve included the error log I can extract through my hosting company in the private information to review.
Kind regards,
AJNovember 17, 2022 at 6:42 am #2419555David
StaffCustomer SupportHi there,
do you have any Block Element Templates ?
If so – does the error pass if you temporarily disable the Element module ?November 17, 2022 at 7:45 am #2419675Alexander
I have one hook element active, but it does not seem to matter if I delete that, I still get an error trying to view the page.
November 17, 2022 at 8:04 am #2420009David
StaffCustomer SupportCould we get an admin login to the site ?
November 17, 2022 at 10:08 am #2420155Alexander
See private information tab. Let me know if that works.
November 17, 2022 at 11:31 am #2420267Jean Paiva Developer
Hello Alexander, I could not replicate this problem in my local environment, but I logged in to your site and went to GenerateBlocks > Settings, and regenerated the CSS files and it fixed the issue. Although, I think it does not fixes the real problem which is the WP filesystem not being able to connect to the FTP server. We will look to improve our code to avoid giving users critical errors.
If the problem shows up again you could change the CSS Print Method to “Inline embedding”, or regenerate the CSS.
I’ve also opened a GitHub issue to improve our code and prevent broken websites in cases similar to yours.
https://github.com/tomusborne/generateblocks/issues/773November 17, 2022 at 12:35 pm #2420348Alexander
Super. Thanks guys, highly appreciated for the quick turnaround and fix (especially since I’ve got a discount promotion scheduled next week and it would have totally sucked if my website had not been working O.o). Thanks again!
November 17, 2022 at 1:06 pm #2420385Jean Paiva Developer
Glad to help Alexander, you can always count on us!
-
AuthorPosts
- You must be logged in to reply to this topic.