I got an error in PHP7.4
-
Environment:
* wptouch 4.3.37
* WordPress 5.3.1
* PHP7.4
* Ubuntu 16.04error detected.
For example.
2019/12/18 20:26:38 [error] 810#810: *1 FastCGI sent in stderr: “PHP message: PHP Warning: Creating default object from empty value in /home/XXXXX/wp-content/plugins/wptouch/core/admin-load.php on line 106” while reading response header from upstream, upstream: “fastcgi://unix:/var/run/php/php7.4-fpm.sock:”,
Suggestion:
--- a/core/admin-load.php +++ b/core/admin-load.php @@ -103,6 +103,7 @@ function wptouch_add_page_section( $sub_page_name, $section_name, $section_slug, } } + $options[ $sub_page_name ] = new stdClass; $options[ $sub_page_name ]->sections[ $section_name ] = $section; } }
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘I got an error in PHP7.4’ is closed to new replies.