Fatal error: Uncaught Error:
Good afternoon
I did the server migration, and after uploading the files, it's giving an error and I can't access the admin panel, just disabling BeTheme:
Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/storage/2/10/1d/lawmm1/public_html/wp-content/themes/betheme/functions/admin/class-mfn-dashboard.php: 209 Stack trace: #0 /home/storage/2/10/1d/lawmm1/public_html/wp-content/themes/betheme/functions/admin/class-mfn-dashboard.php(190): Mfn_Dashboard->remote_get_promo_version() #1 /home/storage/2/10/1d/lawmm1/public_html/wp-content/themes/betheme/functions/admin/class-mfn-dashboard.php(176): Mfn_Dashboard->refresh_promo_version() #2 /home /storage/2/10/1d/lawmm1/public_html/wp-content/themes/betheme/functions/admin/class-mfn-dashboard.php(29): Mfn_Dashboard->get_promo_version() #3 /home/storage/2 /10/1d/lawmm1/public_html/wp-content/themes/betheme/functions.php(154): Mfn_Dashboard->__construct() #4 /home/storage/2/10/1d/lawmm1/public_html/wp-settings .php(555): include('/home/storage/2...') #5 /home/storage/2/10/1d/lawmm1/public_html/wp-config.php(78): require_once('/ home/storage/2...') #6 /home/storage/2/10/1d /lawmm1/public_html/wp-load.php(50): in /home/storage/2/10/1d/lawmm1/public_html/wp-content/themes/betheme/functions/admin/class-mfn-dashboard.php on line 209
Comments
Hi,
Can you tell me how did you migrate your website?
Did you do it manually, or use some plugin for it?
If it was a plugin, can you tell me the name of it, please?
Thanks
Hi,
I did the migration using "All In One".
Thanks
Can you try migrating once again, but this time with the Duplicator plugin, please?
We have used it many times, and never had problems with it.
Thanks
I installed it again, and in clean wordpress, I installed a new betheme, and when it is activated, the error gives again.
I'm talking to the server, which may have some incompatibility.
Thanks
Please send us the WordPress dashboard and FTP access privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Thanks
We manage to solve this issue on your website.
We will also add protection in a future update to our theme so this issue will not occur again.
Best regards
Thank you very much
Hello, I have the same problem with another site, I will send the information in the contact form.
Thanks
Sorry, but we didn't get any message from you yet.
Please check your mail inbox for our response. Look also inside the spam folder.
If you don't have any message from us, please send your login credentials again.
Be sure that you sent all of the required information mentioned in the previous message.
Thanks
I sent the correct FTP password
Did you get any response from us through email?
I still did not receive any information from the person who manage the mailbox.
Best regards
Yes, I got it, I'm solving the server exchange. The current one is very old and does not provide the necessary support.
thanks
Tks for the solution!
same Fatal error: Uncaught Error:
We have two environments, A and B
(A) Can connect to https://api.muffingroup.com/promo by curl
(B) No external connection, so can't connect to https://api.muffingroup.com/promo .
A is normal
B is abnormal
Fatal error: Uncaught Error: Cannot use object of type WP_Error as array
themes/betheme/functions/admin/class-mfn-dashboard.php: 209
enviorment : Betheme, Version: 26.2.1
Hi @jackqphung,
Do you have the newest version of the Betheme?
If not, please, update it, and check if the problem persists.
Thanks