jalalrf
Member
Posted 6 months ago #
I am receiving the following error on custom-header.php
Warning: Wrong parameter count for _() in /home/sloki/user/my_userid/sites/losaribeach.info/www/wp-content/themes/travel-blogger/lib/classes/custom-header.php on line 138
and
Warning: Wrong parameter count for _() in /home/sloki/user/my_userid/sites/losaribeach.info/www/wp-content/themes/travel-blogger/lib/classes/custom-header.php on line 162
my pages menu on my blog not appear..
What's on lines 138 and 162 of your custom-header.php file? Clearly it's a call to __(), but what does that call look like?
Details of the __() function can be checked in this Codex article, and in more detail in this article.
Basically, __() has one mandatory and one optional argument, so if the call your theme is making has something other than this, that's what's causing the warning.
You may need to contact the theme's developer to get this permanently fixed.
Cheers
PAE
jalalrf
Member
Posted 6 months ago #
lines 138
<th scope="row"><?php _( 'Upload Image' , 'travelblogger' ); ?></th>
lines 162
<th scope="row"><?php _( 'Uploaded Images' , 'travelblogger' ); ?></th>