Then visit“Dashboard”
PHP 7.0 is normal.
PHP 7.4.33 Display information, but program error
Code: Select all
Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/yaoying.vip/includes/classes/fieldstypes/fieldtype_action.php on line 92
PHP 8.2
PHP 8.1
PHP 8.0
No messages, only program errors
Code: Select all
Warning: Undefined array key "hide_actions_buttons" in /www/wwwroot/yaoying.vip/includes/classes/fieldstypes/fieldtype_action.php on line 71
Warning: Undefined array key "path_info" in /www/wwwroot/yaoying.vip/includes/classes/fieldstypes/fieldtype_action.php on line 92
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /www/wwwroot/yaoying.vip/includes/classes/fieldstypes/fieldtype_action.php:92 Stack trace: #0 /www/wwwroot/yaoying.vip/includes/classes/fields_types.php(1012): fieldtype_action->output() #1 /www/wwwroot/yaoying.vip/includes/classes/pages/dashboard_pages.php(116): fields_types::output() #2 /www/wwwroot/yaoying.vip/modules/dashboard/views/dashboard.php(10): dashboard_pages->render_info_blocks() #3 /www/wwwroot/yaoying.vip/template/layout.php(154): require('...') #4 /www/wwwroot/yaoying.vip/index.php(38): require('...') #5 {main} thrown in /www/wwwroot/yaoying.vip/includes/classes/fieldstypes/fieldtype_action.php on line 92