search

Home  >  Q&A  >  body text

Please tell me how to solve the website problem [Resolved]

<p>Fatal error: Uncaught: Call to undefined function define() in /home/u540660710/domains/mobilepricez.com/public_html/index.php:0 Stack trace: #0 {main} in /home/u540660710 An error occurred in /domains/mobilepricez.com/public_html/index.php, line 0</p> <p>I've tried deactivating themes and plugins, but that didn't work. I recently installed the webp express plugin to reduce the size of images on my website, after which I got that message. </p>
P粉921165181P粉921165181505 days ago552

reply all(1)I'll reply

  • P粉722521204

    P粉7225212042023-08-10 10:08:52

    Since define() is the core part, this indicates that one or more of the following is true:

    • define Functions are listed in disable_functions of php.ini
    • Loads some kind of hardened module that disables it and requires configuration
    • Your PHP installation is completely corrupt and needs to be repaired

    If you are not the administrator of the server, you can ask them if one of these applies to the server. If you are an administrator, you can take a look at php.ini. If everything works fine, then you need to reinstall PHP.

    reply
    0
  • Cancelreply