Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue (theme functions can interfere like plugins).
Hi @mojowill,
Thanks for your reply.
I tried deactivating all plugins. No solution. The warning was still there.
Then, I tried to add the default theme (I deleted it some time ago without problems). When I did it I couldn’t. There was a message saying that there was an error, maybe with WordPress.org or with the server configuration.
I don’t know what to do…
I think this does look like an issue with your theme, try manually installing TwentyFifteen via FTP (you can download it here https://wordpress.org/themes/twentyfifteen/) if it isn’t working via the admin dashboard.
See if switching to that gets rid of the error. Or you could try reuploading the WordPress core files
Try downloading WordPress again and delete then replace your copies of everything except the wp-config.php
file and the /wp-content/
directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.
It worked! I reuploaded the WordPress core files!
thank you very much!!!
Angela
Great really glad it worked for you. Remember to mark this thread as resolved!
I added additional $8 in calculate_total_shipping function for handling charges and I got warning.
So what I did basically I change code from $total = $this->calculate_base_shipping() to $total = $this->calculate_base_shipping() + 8.00.
I found the above solution in one of the forum but I got the warning below when I updated the file
call_user_func_array() expects parameter 1 to be a valid callback, function ‘dfcg_load_scripts_footer’ not found or invalid function name in /home2/waas7m0aald4/public_html/wp-includes/plugin.php on line 525
Please can someone give solution to this error as soon as possible. I would really appreciate it. Thanks in advance.