Posted: April 19, 2018 at 5:19 am
|
We just moved hosting providers and are now seeing this error message: call_user_func_array() expects parameter 1 to be a valid callback, function ‘espresso_migrate_atos_admin_notice’ not found or invalid function name in /home/…/wp-includes/class-wp-hook.php on line 286 Cananyone tell me what to do with the functions.php or the class-wp-hook.php files. Many thanks.
|
Hi Gail, The error message actually indicates that some files from within the Event Espresso plugin did not get transferred over to the new host. You can reinstall a fresh copy of Event Espresso 3 by following these steps: 1) Download the plugin from your account page. You’ll leave it zipped. |
|
|
Thanks Josh – i did this, still got the warning! Should I have deleted the calendar add-on too and re loaded that? |
No the calendar add-on doesn’t have code related to the error message. Can you try going to the Event Espresso > Payments page? That may reset the setting it’s trying to load. |
|
|
Went to payments page and then out again. “Updated” as in saved, the current payment settings. Also made slight change to address under EE general settings and saved that. Warnings till there : ( |
I could share with you how to get rid of the warning, but I’m afraid that would not fix the underlying issue that seems to be happening. Can you (or the individual that did the migrating) check and make sure that the server has the permissions to access If that’s been confirmed that it does have the correct permissions, then you can go to yoursite.com/wp-admin/options.php and set the |
|
|
event-espresso/gateways/ directory has permissions set to 0755 event-espresso/gateways/payment_gateways.php file is set to 0644 there is also a PaymentGateway.php also set to 0644 can you advise what these should be set to is this is not correct. Many thanks for your help. |
|
Hi Josh – I’ve been paying with permissions but cannot now find what you describe in the yoursite.com/wp-admin/options.php there are no references in this php file to espresso and I see nothing that looks like your screen shot. Am I in the wrong place ? |
Yes because your.site.com/wp-admin/options.php is a page on your website. You’ll type that URL into your site’s address bar to get that that special “hidden” master settings page. |
|
|
Hmm – did’nt know that was possible – fraid I just get a 404 error on that one ! |
You can double check the entered URL because the options.php is a real route on your website. If you get a 404 that’s likely because there was a typo in the URL. |
|
|
So Josh appears I might have more than one issue. I was able to use the URL on a couple of other sites and I can see those All Settings pages, I cannot get to that page on WhiteFoxBeads. However, while I was digging on the old server and reloading the options file from the previous host, I found an error log that shows this warning has been ongoing with different line numbers since: [20-Mar-2015 09:26:41 America/New_York] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘espresso_migrate_atos_admin_notice’ not found or invalid function name in /home1/whitefo3/public_html/wp-includes/plugin.php on line 496 So I’m thinking B) That somehow the warning was hidden on the old host and is showing in the dashboard now only because of the move Can you just tell me how to get rid of it and I’ll stop worrying about and I’ll stop bugging you : ) |
I did just tell you how to get rid of it: You can go to yoursite.com/wp-admin/options.php and set the Since something on your site is restricting access to that page (possibly a security plugin), here’s a revised set of instructions: Install the Health Check plugin, then go to WP → Dashboard → Heath Check → Troubleshooting. There you’ll Enable Troubleshooting Mode. Then go to whitefoxbeads.com/wp-admin/options.php and set the With regards to the PHP warnings being displayed instead of being logged only, that’s a problem with your new host. By default some hosts will turn on PHP error display with the assumption that the developer will turn off PHP error display when the site development is finished and the site goes live. You can contact your host and ask them to turn off PHP error display. Alternatively you can add this line of code to your site’s wp-config.php file:
|
|
|
Thank you for this exhausting thread, I really appreciate you. Have a great weekend. |
The support post ‘Error message after site migration’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.