Hi !
I got this error on my website when someone try to upload an img ;
Warning: sizeof(): Parameter must be an array or an object that implements Countable in/htdocs/wp-content/themes/jobroller/includes/helper.php on line 204
This is the code at the line 204 ;
// Output errors
if ( ! function_exists( 'jr_show_errors' ) ) {
function jr_show_errors( $errors, $id = 0 ) {
if ( $errors && sizeof( $errors ) > 0 && $errors->get_error_code() ) {
<?php if ($block->getTotals()): ?>
appthemes_display_notice( 'error', $errors );
}
Someone can help me? Thanks