Problem updating to php 8.1.x

Hello,

We're trying to update the php version of a live site 7.4.11 => 8.1.13

Our host shared the following issue for the most recent version of Betheme, 27.5.11, WordPress 6.6.2

Hi Terry,

Thank you for the quick response. As per the logs, there seems to be a missing class causing this issue. Defining it would likely resolve this issue and should also fix the problem. ( Logs attached below). Yes, the staging environment will be slightly different from the live environment as it doesn't display a checklist for plugin versions and WordPress core in the overview panel, unlike the live environment. 

PHP Fatal error: Uncaught Error: Class 'DOMXPath' not found in /mnt/sites7/ee0688522c08915502732dda93b48d6a46c51e43c5ddd08884c4c622a1b6ef7f/web/wp/wp-content/themes/betheme/functions/modules/svg-sanitizer/data/XPath.php:4

Are you able to help with this?

Warm Regards,

Terry

Comments

  • Hey,

    Please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at https://themeforest.net/user/muffingroup#contact and we will check what might be the reason.

    Notice!

    Please attach a link to this forum discussion.

    Sending incorrect or incomplete data will result in a longer response time.

    Therefore, please ensure that the data you send are complete and correct.

    Thanks

  • Thank you, our host was able to resolve the problem.

    My opinion is that the error may have been in a Betheme file however with some experimenting, we are able to update php versions on different sites running different versions of Betheme. As well as obtaining the same error on this site for an Automattic theme.

    Thank you for your patience.

    Warm Regards

  • I am happy to see that you handled it.

    If you need any further assistance, please let me know.


    Thanks

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.