PHP Warning: count(): Parameter must be an array or an object that implements Countable in admin/sources/base/core.php on line 5979
PHP Warning: count(): Parameter must be an array or an object that implements Countable in admin/sources/base/core.php on line 5984
PHP Warning: count(): Parameter must be an array or an object that implements Countable in admin/sources/base/core.php on line 5989
How to fix
Locate and delete the code in the admin/sources/base/core.php file:
/* Check */
if( count( $fields->error_fields['empty'] ) )
{
//throw new Exception( 'CUSTOM_FIELDS_EMPTY' );
}
if( count( $fields->error_fields['invalid'] ) )
{
//throw new Exception( 'CUSTOM_FIELDS_INVALID' );
}
if( count( $fields->error_fields['toobig'] ) )
{
//throw new Exception( 'CUSTOM_FIELDS_TOOBIG' );
}