Unknow error
-
Hi !
I’m here because since this morning, my client site got an error which say :
: preg_match() expects parameter 2 to be string, object given in on line : strip_tags() expects parameter 1 to be string, object given in on line : Trying to get property of non-object in on line 26/homepages/22/d475349327/htdocs/wordpress/wp-content/themes/twentysixteen/archive.phpNotice1571/homepages/22/d475349327/htdocs/wordpress/wp-includes/formatting.phpWarning1133/homepages/22/d475349327/htdocs/wordpress/wp-includes/formatting.phpWarning4/homepages/22/d475349327/htdocs/wordpress/wp-content/themes/twentysixteen/functions.phpNotice
So i set the DEBUG on true and there is an other error :
: Undefined index: sense in on line
No line, no folder. I’m searching on the web and there is no reference, All I know it’s that this line cause this error :
$slider_et_descr = category_description( get_category_by_slug($yourcat)->term_id );
But it was working perfeclty since 2 months…
Nicolas.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Unknow error’ is closed to new replies.