Fatel Error in sizeof function when we are using this in php 8.3
-
I updated the php version 8.3.0 then only administrator is working fine, and when I login with the differnt custom user then this will showing me the fatel error.
PHP Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /plugins/remove-admin-menus-by-role/remove-admin-menus-by-role.php:83
Fix this issue on the in next update and if someone update the plugins then
if(isset( $submenus_hidden ) ? sizeof( $submenus_hidden ) : 0 > 0)
need to change the 83 line code on the remove-admin-menus-by-role.php file.
- The topic ‘Fatel Error in sizeof function when we are using this in php 8.3’ is closed to new replies.