Tagged: PHP8, related posts, Share This
-
AuthorPosts
-
December 13, 2023 at 10:27 pm #1428035
I’m running version: 5.6.9 of Enfold on WordPress 6.4.2. After upgrading to PHP 8.0, styling breaks on the “Share This” social media icons and the “You might also like” related posts sections.
Compare the bottom of these 2 pages:
PHP 8: https://beta.golfcoursehome.com/jw-collection-november-17-2023/
PHP 5.5: https://www.golfcoursehome.com/jw-collection-november-17-2023/Suggestions?
December 14, 2023 at 4:50 am #1428045Hey dlott,
Thank you for the inquiry.
We tried logging in to the site but the account above seems to be invalid. Please check the login info carefully, or provide a screenshot of the issue. In the meantime, please try to toggle or temporarily disable the Enfold > Performance > File Compression settings and see if it helps.
Best regards,
IsmaelDecember 14, 2023 at 12:47 pm #1428085Hi Ismael,
I tried disabling the file compression settings, but the error still occurs
I reset the password to what i told you before. Both the WordPress and FTP logins have been tested.
December 16, 2023 at 10:45 pm #1428301Hi,
Thank you for the link to your site and your patience, typically we don’t have any errors with PHP v8, you say that you upgraded from v5.5, that version has been out of date for a long time, so I assume that your Enfold theme was also out of date?
I ask because your child theme has a lot of customized files, so there is a good chance one of those is not v8 ready.
I tried testing by disabling all of your plugins, but then your site crashed because your customizations seem to rely on Advanced Custom Fields & Custom Post Type UI
So I them tested by enabling the parent theme and the “Share This” social media icons and the “You might also like” related posts sections both showed correctly:
So this shows that the theme does work correctly with PHP v8, so I recommend checking your customized child theme files and compare them with the core files in the latest version and update accordingly.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.