• Resolved jorgeletralia

    (@jorgeletralia)


    Hi,

    today I tried to make a change in the header using your plugin, and the system showed me the following message:

    “You don’t have permission to access this resource”

    Then the system temporarily blocked me. I could not access WordPress. To restore my access I went to my homepage, where I had to complete a Google captcha form to access my website.

    Errors.log shows the following error:

    [14-May-2021 13:23:52 UTC] PHP Fatal error: require_once(): Failed opening required ‘inc/helpers.php’ (include_path=’.:/opt/alt/php73/usr/share/pear’) in /home2/letralia/public_html/letralia.com/wp-content/plugins/head-footer-code/head-footer-code.php on line 31

    Can you guys give me a hint on how to resolve this error?

    Thanks!

    Jorge.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @jorgeletralia,

    Can you please advise if file /home2/letralia/public_html/letralia.com/wp-content/plugins/head-footer-code/inc/helpers.php exists on your server and does it have correct permissions (644)?

    1. If the file does not exist, please reinstall the plugin.
    2. If the file exists but permissions are incorrect, change file permission to 644.
    3. If the file exists and permission is 644, try to replace line 31 in file /home2/letralia/public_html/letralia.com/wp-content/plugins/head-footer-code/head-footer-code.php from

      require_once 'inc/helpers.php';

      to this:

      require_once WPAU_HEAD_FOOTER_CODE_INC . 'helpers.php';

    Please let me know if any of the solutions above resolved the issue, or you still experiencing the problem?

    Thank you,
    Aleksandar

    Thread Starter jorgeletralia

    (@jorgeletralia)

    Hi,

    The file exists and has permission 644. So I changed the line in head-footer-code.php but the problem persists.

    Thanks,

    Jorge.

    Hi Jorge,

    That is very strange. If all directories from file path (wp-content, plugins, head-footer-code, inc) has permission 755, please:

    1. backup (ZIP) directory wp-content/plugins/head-footer-code on your server
    2. then delete head-footer-code directory from server (do not uninstall plugin but delete it by FTP/SSH/cPanel)
    3. and then reinstall plugin from WordPress Dashboard

    If above does not help, please get your site info (Tools > Site Health > Info > Copy site info to clipboard) and send it to email [email protected].
    If above helps to resolve issue, please send ZIP package to email [email protected].

    Thank you for your patience,
    Aleksandar

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error when trying to modify the header’ is closed to new replies.