hi i get these errors after getting live with my wordpress site from local to server.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'bones_register_sidebars' not found or invalid function name in /is/htdocs/wp1108989_5IDG6XP7VR/www/cgi-bin/website/wp-includes/plugin.php on line 403
Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1108989_5IDG6XP7VR/www/cgi-bin/website/wp-includes/plugin.php:403) in /is/htdocs/wp1108989_5IDG6XP7VR/www/cgi-bin/website/wp-includes/pluggable.php on line 881
hoster is hosteurope.
any one any ideas how to fix it?
Not really sure what those errors are, but if everything works as expected then add a php value to your .htaccess file
php_value error_reporting 0
Related
I have just put some changes to a wordpress theme live, it all works on the staging server but for some reason it's giving a critical error on the live site.
As normal i go and look at the debug.log file and there is no fatal error is showing in that file, and no error_log is showing it either.
Any ideas on why it's not recording the fatal error (usually that is what causes the wordpress critical error)
Probably, the "fatal error" you're talking about occurred before WordPress was initialized. For example, if the code, that triggers the error is located in index.php of your active theme.
In this case, try to find error messages not in wp-content/debug.log, but in webserver logs folder /var/log/httpd/error_log/ or /var/log/apache2/error.log
I started having errors after updating wordpress and my website plugins
Notice: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' in /home4/magist31/public_html/magistraldoces.com/wp-content/themes/sinrato/functions.php on line 74
Warning: Cannot modify header information - headers already sent by (output started at /home4/magist31/public_html/magistraldoces.com/wp-content/themes/sinrato/functions.php:74) in /home4/magist31/public_html/magistraldoces.com/wp-includes/pluggable.php on line 1265
Warning: Cannot modify header information - headers already sent by (output started at /home4/magist31/public_html/magistraldoces.com/wp-content/themes/sinrato/functions.php:74) in /home4/magist31/public_html/magistraldoces.com/wp-includes/pluggable.php on line 1268
http://magistraldoces.com/
Only one Notice error is there.
Can you please try to look into /home4/magist31/public_html/magistraldoces.com/wp-content/themes/sinrato/functions.php on line 74.
What related code is there, Any error is there or what exactly.
i just installed "Disable Google Fonts" plugin to inactive em , when i actived it i got those errors
BTW i'm using wordpress 4
when i tried to active it i got these errors:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'remove_inline_style' not found or invalid function name in /home/ghadaal/public_html/blog/wp-includes/plugin.php on line 505
Warning: Cannot modify header information - headers already sent by (output started at /home/ghadaal/public_html/blog/wp-includes/plugin.php:505) in /home/ghadaal/public_html/blog/wp-includes/pluggable.php on line 1173
Warning: Cannot modify header information - headers already sent by (output started at /home/ghadaal/public_html/blog/wp-includes/plugin.php:505) in /home/ghadaal/public_html/blog/wp-includes/pluggable.php on line 1173
and when i tried to remove the plugin
i got that error
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'remove_inline_style' not found or invalid function name in /home/ghadaal/public_html/blog/wp-includes/plugin.php on line 505
PS here's the plugin link
While you are installing a plugin, you need to be careful about plugin test level. That plugin has been tested up to 3.8.3 as below;
It is not compatible with wp 4.x. In order to delete plugin, go to /pathto_website/wp-content/plugins/ directory and delete disable-google-fonts folder manually. And you can use support section of plugin page to warn author of that plugin in order to make necessary upgrade for that plugin
I'm trying to host a local WordPress site on my machine using Xampp.
I got everything working, I can get on the site etc. However I can't change the Permalinks without editing the .htaccess, and here lies my problem.
I've removed the "#" in front of the "Load rewrite" module in Xampp, and also changed the "AllowOverride All".
If I add in my own .htaccess file into the WordPress root (Xampp/htdocs/mysite/.htaccess) then the error comes up, otherwise it doesn't. I have hidden files visible yet I can't see a .htaccess file there, even adding a blank one breaks it.
Error from webpage:
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
Error form Apache Error Log:
[Fri May 16 13:45:48.885862 2014] [core:alert] [pid 18435] [client ::1:54974] /Applications/XAMPP/xamppfiles/htdocs/PMD-new/.htaccess: Invalid command '{\\rtf1\\ansi\\ansicpg1252\\cocoartf1038\\cocoasubrtf360', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/PMD-new/wp-admin/options-permalink.php?settings-updated=true
.htaccess File:
http://pastebin.com/vb3zScdx
When I remove the .htaccess file it works fine, but I can't change the permalinks.
I'm new when it comes to this so any help is appreciated.
I've been trying to create a local copy of this wordpress site - click4taps.co.uk. But even though everything seems to run pretty much fine on the server, on localhost I am getting these code errors, I would have maybe expected a database error if I had forgot something in the setup. I'm not super good at php but I can't see anything that out of place in the code the error specifies.
Here is the error message I receive when trying to launch the site in localhost:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'woocommerce_layered_nav_init' not found or invalid function name in C:\Program Files (x86)\Ampps\www\click4taps\wp-includes\plugin.php on line 406
Fatal error: Call to undefined function is_product() in C:\Program Files (x86)\Ampps\www\click4taps\wp-content\themes\bazar\theme\plugins\woocommerce-ajax-layered-nav\init.php on line 59
Any feedback on this would be very helpful thanks
Activate your woocommerce plugin