This topic has 15 replies, 3 voices, and was last updated 5 years, 12 months ago ago by Rose Tyler
All of my plugins are up to date and so is the theme but when I switch my host to PHP 7.2 the entire site works (front and backend) except for individual WooCommerce product pages – only the images display but popups and javascript actions don’t work; description, buy button, reviews, tabs, etc. are not shown and neither is the site footer. I tried using the Twenty Sixteen theme and everything works and displays perfectly which tells me this is a theme problem and not a plugin conflict. I also tried PHP 7.1 and that doesn’t work with Royal either.
I’d really like to use PHP 7.2 because it does make the site faster. Can you please tell me if there are any known issues with the Royal Theme on 7.2, and if not can you take a look and assist with a fix?
Thanks!
Hello,
What PHP version on your site right now?
Please provide us with temporary wp-admin and FTP access so we can take a closer look.
Regards
I reverted the site back to 7.0 because it’s a live e-commerce shop and can’t stay broken (on 7.2). I’ve included a temp admin login and if necessary can provide the Kinsta hosting login to change the PHP.
I would recommend you to create a staging site (a full copy of live site but with PHP 7.2) where we will be able to check the problem more deeply. Provide us with wp-admin and FTP access to that site.
Regards
Hi,
I’ve included the staging info…
Hello,
Unfortunately, we can’t check your staging site, there is a redirect to live one. Please check.
Regards
Hi,
There was an error creating the initial staging site, it has now been fixed and I can confirm it works (won’t redirect to live).
Credentials are below…
I’ve also set the staging site to be on PHP 7.2 so you’ll see the errors between the live site (php 7.0) and staging.
Hello,
Thank you. We have passed your problem to our developers and inform you once get the answer.
Regards
Hello,
We have disabled the third-party plugins on your staging site that do not come bundled with our theme and don’t see the compatibility problem with PHP 7.2. Enable your third-party plugins one by one to find out which one is the reason of your problem. Seems one of them or maybe few of them do not support PHP 7.2 and you will need to contact plugins author to fix it.
First of all check WooCommerce Memberships because it gives fatal error https://prnt.sc/libefe and Menu – Visibility control for menu items https://prnt.sc/libjxh
Regards
I’ve gone through all of the plugins and it is indeed WooCommerce Memberships that’s causing the problem but it’s a theme specific issue. I’ve tried both the Twenty Sixteen theme by WordPress and Storefront by Automattic and everything displays perfectly with Memberships enabled – once I switch back to Royal the content on the product pages disappears. Memberships is a widely used official WooCommerce plugin so I can’t imagine a theme not supporting it, plus the changelog confirms that it’s PHP 7.2 compatible. Can you please take a closer look to see why Royal won’t work with Memberships in 7.2? Thanks!
Hello,
We have fixed the compatibility issue. Changes were made in royal/framework/woo.php file. We’ll also include the fix in the next theme update.
Check now, please.
Regards
Hi Olga,
Thanks for working on this – there still seems to be a problem though. There are multiple error messages on the staging site which are displayed when I’m logged in and logged out. Also the footer of the site is cut off and it’s not possible to scroll past a certain point on any pages now. If you compare the live and staging sites you’ll see the issue. I’ve included the error messages I’m seeing in the private content area.
Sorry, please disregard my last message. The fix worked once I applied it to the live site. Thank you so much for the amazing support and for adding the WooCommerce Memberships fix to the next theme update. I’m excited to be able to use PHP 7.2 now!
Hello,
You’re welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up