-
AuthorPosts
-
March 7, 2014 at 12:04 pm #233704
Hi,
This morning i got a message when i tried to access the adminpanel:
Fatal error: Cannot use object of type WP_Error as array in /../wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 344
The site still looks like normal, but i cant access the admin panel. I read the forums and updated the api file to the latest version –from https://github.com/envato/envato-wordpress-toolkit/blob/master/includes/class-envato-api.php
The result: No access, but a new message:
No direct script access allowed
And thats where i am right now. I cannot access the admin panel.
Please help
March 7, 2014 at 12:42 pm #233714Hi Rockaway_Beach!
Please update your theme to the latest version (Enfold 2.5.4) – it already includes the updated class-envato-protected-api.php.
Cheers!
PeterMarch 11, 2014 at 11:23 am #235384Hi Peter,
The problem remains.
I still cannot acces the admin panel
Now it says“No direct script access allowed
I am logged in, but i cant access the admin panel
After having changed name on the theme folder, i could access the admin panel, but many settings of the page changed, so i rather not do that aging by chance.Help needed!
March 11, 2014 at 11:27 am #235387This reply has been marked as private.March 11, 2014 at 3:10 pm #235506Hi!
How are you? I hope you’re doing well today.
I checked the website but it gives me a 503 Service error. The 2.6 version is available. Please update the theme, maybe it’ll fix the issue you’re having right now.
Best regards,
IsmaelMarch 11, 2014 at 4:48 pm #235628This reply has been marked as private.March 12, 2014 at 8:46 pm #236518Hi!
Try updating manually which should fix your issues in one swoop. For a quick guide on updating your theme take a look at this video on updating the Enfold theme via FTP: https://vimeo.com/channels/aviathemes/67209750
Regards,
DevinMarch 13, 2014 at 11:56 am #236828Devin, Ismail,
I updated manually like you said and everything seems to work fine!
Thanks!
-
AuthorPosts
- The topic ‘Fatal Error and No direct script access allowed’ is closed to new replies.
