Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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

    #233714

    Hi 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!
    Peter

    #235384

    Hi 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!

    #235387
    This reply has been marked as private.
    #235506

    Hi!

    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,
    Ismael

    #235628
    This reply has been marked as private.
    #236518

    Hi!

    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,
    Devin

    #236828

    Devin, Ismail,

    I updated manually like you said and everything seems to work fine!

    Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Fatal Error and No direct script access allowed’ is closed to new replies.