• I use a wordpress template on my own domain with a different host. When I visit the site I get the following error message:

    ‘Fatal error: Array and string offset access syntax with curly braces is no longer supported on line 3

    Deprecated: Directive ‘allow_url_include’ is deprecated in Unknown on line 0′

    I’m not sure what do. I reached out to the hosting service and they said, ‘This indicates that the PHP on the site needs to be updated and you will need to contact a PHP developer to resolve the issue.’

    I’m not sure how to fix this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @donnelsl,
    You can ask to hosting to upgrade your php version to latest.

    Thread Starter donnelsl

    (@donnelsl)

    According to the webhost, the site settings are set to PHP 8.0. I am unable to access the source code for the site as I can’t get past the “fatal error” screen.

    I’m unsure how to proceed with troubleshooting this issue or what do to next in order to get it resolved. The webhost says they are unable to provide support to fix it as it is a WordPress issue and that I should contact a WordPress developer (how do I contact a developer?).

    Thread Starter donnelsl

    (@donnelsl)

    UPDATE –
    Through my hosting site, I was able to upgrade to the latest version of WordPress (5.8.2) and check that I’m running PHP 8.0. After upgrading WordPress, I am still not able to actually view my website or login as an admin to WordPress. I am now getting different errors:

    Warning: Constant ABSPATH already defined in /home/grimmfam/public_html/wp-config.php on line 28
    
    Warning: Undefined array key "path" in /home/grimmfam/public_html/wp-content/plugins/wp-fancyzoom/wp-fancyzoom.php on line 259
    
    Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0

    Can someone please tell me how I can fix those errors so that I can get my site to load so that I can login to WordPress as an admin user?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error’ is closed to new replies.