• Resolved glenjip

    (@glenofcrawley)


    When going to Settings > Stateless Settings on my multisite install (main site), I am getting an error page with the below:

    Fatal error: Uncaught Error: Call to undefined function phpdefine() in /home/joyceleb/public_html/wp-config.php:1 Stack trace: #0 /home/joyceleb/public_html/wp-load.php(37): require_once() #1 /home/joyceleb/public_html/wp-admin/admin.php(34): require_once(‘/home/joyceleb/…’) #2 /home/joyceleb/public_html/wp-admin/network/admin.php(13): require_once(‘/home/joyceleb/…’) #3 /home/joyceleb/public_html/wp-admin/network/settings.php(11): require_once(‘/home/joyceleb/…’) #4 {main} thrown in /home/joyceleb/public_html/wp-config.php on line 1

    The setup wizard is failing to finish and setup the plugin too.

    Any ideas on what is happening and how to fix?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @glenofcrawley,
    Seems like you have messed up your wp-config.php file. The problem should be on line 1.
    Try to find where you have the phpdefine function in wp-config. If you can’t fix yourself please copy and paste that line of code here, we will take a look.

    If you have something like this <? phpdefine(...) then make it <?php define(...).

    Thanks

    Thread Starter glenjip

    (@glenofcrawley)

    Thanks very much for helping! : )

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to access settings page or setup’ is closed to new replies.