Hi @kjandrews,
Thanks for reaching us,
In order to better assist you, could you please provide us with the URL of your website? Once we have the URL, we’ll be able to investigate the problem and provide you with a more accurate solution.
Regards
Website has been patched for now as we can’t have the sites offline.
For valid compatible PHP code, this line:
delete_post_meta( $post_id, ‘_zakra_product_gallery_image_id_’ . $id, );
needs changing to
delete_post_meta( $post_id, ‘_zakra_product_gallery_image_id_’ . $id );
4th from the end comma needs removing.
Going to make an educated guess this particular site was running on PHP 7.2
Theme is listed as PHP Version: 5.6 or higher here https://wordpress.org/themes/zakra/
Trailing comma RFC was voted in for PHP 7.3
https://wiki.php.net/rfc/trailing-comma-function-calls
and implemented:
Implemented in PHP 7.3 via https://github.com/php/php-src/commit/b591c329ee3129adbdc35141bb1542d119f7a2a1.
If your theme is listed as PHP 5.6 compatible then you’ll need to remove the trailing comma.
Hi @kjandrews,
Thanks for reaching back,
The issue has been fixed with the latest version of the Zakra theme i.e. 3.0.8. Could you please update the Zakra theme to the latest version and check if the issue gets resolved or not!
Kindly provide with the update about the issue after updating to the latest version and I will be back accordingly.
Regards
Hi @kjandrews,
The Zakra theme has been updated to the new version i.e 3.0.9. Please update the theme to the latest version and check if it fixes the issue or not!
Regards
Thanks very much, i’ll try to test this on one of the sites tomorrow.
Hi @kjandrews,
Please update the theme to the latest version and let me know if the issue gets fix or not!
Regards