Archived topic
Porting problem
3 replies · Started by Hans on April 6, 2019
After porting to another URL I get the following message on calling the front page:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'disable_embeds_rewrites' not found or invalid function name in /mnt/web417/a2/76/52551976/htdocs/waehlt/wp-includes/class-wp-hook.php on line 286
The output on the screen is okay. On a following call of another page the following messages are displayed and a white screen comes up:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'disable_embeds_rewrites' not found or invalid function name in /mnt/web417/a2/76/52551976/htdocs/waehlt/wp-includes/class-wp-hook.php on line 286
Warning: Cannot modify header information - headers already sent by (output started at /mnt/web417/a2/76/52551976/htdocs/waehlt/wp-includes/class-wp-hook.php:286) in /mnt/web417/a2/76/52551976/htdocs/waehlt/wp-includes/pluggable.php on line 1251
Warning: Cannot modify header information - headers already sent by (output started at /mnt/web417/a2/76/52551976/htdocs/waehlt/wp-includes/class-wp-hook.php:286) in /mnt/web417/a2/76/52551976/htdocs/waehlt/wp-includes/pluggable.php on line 1254
Admin runs okay but has the same error message as shown above. What could cause the error messages??
Hi there,
Can you try #1 here to eliminate any plugin conflicts first?
https://docs.generatepress.com/article/debugging-tips/
Let me know :)
It was a caching problem. An older version was still in cache and distiurbed the new version after some corrections.
Awesome :)