Error log

Posted in: Newspaper
Post count: 200

Hi guys,

I found out that there’s a single error in the error log, which has been returned (and continues) tens of thousands times:

PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘yourtheme_setup’ not found or invalid function name in /home/importexport/grandecor.bg/wp-includes/class-wp-hook.php on line 298

How to fix this?

Thanks

Post count: 23312

Hello DaveS,

Those are a lot of warnings. Something is not functioning properly, or there are plugins conflicting between them. What you can try, is to deactivate all your plugins except the ones provided with the theme, and clear any installed cache. Also, check any custom code you might have entered in the theme panel, or directly to the theme files. If you use a child theme, switch to the main theme.
Then check if the problem is solved. If it is, activate the plugins one at a time, and possibly identify the cause of the issue.
Also check the theme system status and make modifications to the parameters mentioned in this guide , if necessary
https://forum.tagdiv.com/system-status-parameters-guide/
You can ask you hosting provider to make them for you if needed, as they might have a recommended method in this regard. These modifications are requires for the good functionality of the theme and plugins. Having many plugins can exhaust the allocated memory.

Thanks

Post count: 200

Hi Catalin,

I raised all php parameters, but this didn’t solve the issue. I have not tried stopping all plugins etc, because it’s currently impossible… But the hosting company suppose that the issue comes from the theme..

Post count: 23312

Hello DaveS,

Sorry for this inconvenient but please notice that we cannot answer and provide any support for your untested plugins. Please keep in mind that the first steps for debugging in WordPress are to disable all of your untested plugins and leave just only the plugins that come bundled with the theme core files and rule out any conflicting plugins, sorry! This reference may help you -> -> https://www.screencast.com/t/IfLpxiYsocOT

Thanks for your understanding!

Post count: 200

It actually helped! Thanks a lot for your support, much appreciated!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.