Problems with new versions of Php
-
Hi, I use the plugin on several installations without ever having problems and find the functions you have devised useful.
I have a problem with Php.
With the old version 7.4 everything works correctly, while if I switch to versions 8.0 and 8.1 I get log errors.Here are the logs:
PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /var/www/vhosts/divi-lab.com/httpdocs/wp-content/plugins/wp-simple-post-view/includes/postSimplePostView.php:78\nStack trace:\n#0 /var/www/vhosts/divi-lab.com/httpdocs/wp-includes/class-wp-hook.php(308): NGD_wpSimplePostView->ngd_insertProcessPostviewFun(”)\n#1 /var/www/vhosts/divi-lab.com/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)\n#2 /var/www/vhosts/divi-lab.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#3 /var/www/vhosts/divi-lab.com/httpdocs/wp-includes/general-template.php(3043): do_action(‘wp_head’)\n#4 /var/www/vhosts/divi-lab.com/httpdocs/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-header-template.php(11): wp_head()\n#5 /var/www/vhosts/divi-lab.com/httpdocs/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(216): require_once(‘/var/www/vhosts…’)\n#6 /var/www/vhosts/divi-lab….’
divi-lab.com [Wed Feb 08 09:19:26 2023] [error] [pid 32315] mod_proxy_fcgi.c(888): [client 31.191.44.47:0] AH01071: Got error ‘PHP message: PHP Warning: A non-numeric value encountered in /var/www/vhosts/divi-lab.com/httpdocs/wp-content/plugins/wp-simple-post-view/includes/postSimplePostView.php on line 78′Could you check if an update of the plugin is possible?
I would hate to change plugins, I am sure if you have pleasure, you will try to solve it.
Thank you
- The topic ‘Problems with new versions of Php’ is closed to new replies.