• Hi Guys!

    I have a big problem on my site. I have a http 500 error. I already set back a backup site but that didn’t solve it. I also tried to disable all plugins and increasig the memory limit and even replaced wordpress core files but nothing worked. After replacing a backup site, i can get into the admin panel but after a few click in the admin panel, i get the http 500 error again.

    I really hope someone could help me with this and could look into my site!

    Thanks

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 19 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.

    Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://www.ads-software.com/support/article/debugging-in-wordpress/

    Thread Starter jesse120502

    (@jesse120502)

    Thanks for your reply Steven!

    I enabled debugging but nothing gets logged.

    This is the error log is get from the server:

    [Sun Mar 21 16:12:25.800164 2021] [lsapi:error] [pid 967575:tid 140662471001856] [client 92.109.206.88:63288] [host https://www.vcwaterland.nl] Backend fatal error: PHP Fatal error: Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n
    [Sun Mar 21 16:12:26.430596 2021] [lsapi:error] [pid 970415:tid 140662250714880] [client 92.109.206.88:63288] [host https://www.vcwaterland.nl] Backend fatal error: PHP Fatal error: Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n
    [Sun Mar 21 16:12:26.718795 2021] [lsapi:error] [pid 970415:tid 140662324143872] [client 92.109.206.88:63288] [host https://www.vcwaterland.nl] Backend fatal error: PHP Fatal error: Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n
    [Sun Mar 21 16:12:26.934426 2021] [lsapi:error] [pid 970415:tid 140662775207680] [client 92.109.206.88:63288] [host https://www.vcwaterland.nl] Backend fatal error: PHP Fatal error: Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n
    [Sun Mar 21 16:12:39.243198 2021] [lsapi:error] [pid 973552:tid 140662733248256] [client 92.109.206.88:63288] [host https://www.vcwaterland.nl] Backend fatal error: PHP Fatal error: Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n
    [Sun Mar 21 16:18:15.487324 2021] [lsapi:error] [pid 1009110:tid 140662366103296] [client 168.91.221.30:36126] [host https://www.vcwaterland.nl] Backend fatal error: PHP Fatal error: Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n, referer: https://www.ads-software.com/support/topic/http-500-error-62/?view=all
    [Sun Mar 21 16:22:08.915887 2021] [lsapi:error] [pid 960:tid 140662250714880] [client 92.109.206.88:63597] [host https://www.vcwaterland.nl] Backend fatal error: PHP Fatal error: Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n
    [Sun Mar 21 16:22:10.553034 2021] [lsapi:error] [pid 2407:tid 140662670309120] [client 92.109.206.88:63597] [host https://www.vcwaterland.nl] Backend fatal error: PHP Fatal error: Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n
    [Sun Mar 21 16:22:19.021088 2021] [lsapi:error] [pid 1045374:tid 140662649329408] [client 92.109.206.88:63597] [host https://www.vcwaterland.nl] Backend fatal error: PHP Fatal error: Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n
    [Sun Mar 21 16:22:21.407281 2021] [lsapi:error] [pid 2407:tid 140662271694592] [client 92.109.206.88:63597] [host https://www.vcwaterland.nl] Backend fatal error: PHP Fatal error: Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n`

    Hope you can help me as i dont understand this log

    • This reply was modified 3 years, 8 months ago by jesse120502.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Let’s focus on Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#

    It seems that one or more core WP files may be missing. Do Step #1 here to replace the core files: https://www.ads-software.com/support/article/updating-wordpress/#step-1-replace-wordpress-files

    Thread Starter jesse120502

    (@jesse120502)

    I have updated the core files but still get the error.

    This is my error log now:

    [Sun Mar 21 16:42:12.598771 2021] [lsapi:error] [pid 164765:tid 140602586896128] [client 2a06:2ec0:1::100:40826] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function send_origin_headers() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php:25\nStack trace:\n#0 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php on line 25\n, referer: https://www.vcwaterland.nl/wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=6d4c99811a
    [Sun Mar 21 16:42:12.798454 2021] [lsapi:error] [pid 164765:tid 140602534446848] [client 2a06:2ec0:1::100:40922] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function send_origin_headers() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php:25\nStack trace:\n#0 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php on line 25\n, referer: https://www.vcwaterland.nl/wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=6d4c99811a
    [Sun Mar 21 16:42:13.581006 2021] [lsapi:error] [pid 158338:tid 140602324649728] [client 92.109.206.88:52434] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function send_origin_headers() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php:25\nStack trace:\n#0 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php on line 25\n, referer: https://www.vcwaterland.nl/wp-admin/index.php
    [Sun Mar 21 16:42:13.581695 2021] [lsapi:error] [pid 164765:tid 140602481997568] [client 92.109.206.88:52434] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function send_origin_headers() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php:25\nStack trace:\n#0 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php on line 25\n, referer: https://www.vcwaterland.nl/wp-admin/index.php
    [Sun Mar 21 16:42:13.659183 2021] [lsapi:error] [pid 162496:tid 140602576406272] [client 92.109.206.88:52434] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n, referer: https://www.vcwaterland.nl/wp-admin/index.php
    [Sun Mar 21 16:42:16.145339 2021] [lsapi:error] [pid 162496:tid 140602824271616] [client 92.109.206.88:52434] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n
    [Sun Mar 21 16:42:18.794806 2021] [lsapi:error] [pid 166035:tid 140602702284544] [client 92.109.206.88:52434] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function send_origin_headers() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php:25\nStack trace:\n#0 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php on line 25\n, referer: https://www.vcwaterland.nl/wp-admin/index.php
    [Sun Mar 21 16:42:18.795040 2021] [lsapi:error] [pid 158338:tid 140602429548288] [client 92.109.206.88:52434] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function send_origin_headers() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php:25\nStack trace:\n#0 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php on line 25\n, referer: https://www.vcwaterland.nl/wp-admin/index.php
    [Sun Mar 21 16:42:20.432802 2021] [lsapi:error] [pid 166035:tid 140602597385984] [client 92.109.206.88:52434] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function nocache_headers() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin.php:36\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/index.php(10): require_once()\n#1 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin.php on line 36\n, referer: https://www.vcwaterland.nl/wp-admin/index.php
    [Sun Mar 21 16:42:22.924472 2021] [lsapi:error] [pid 166035:tid 140602576406272] [client 92.109.206.88:52434] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    send_origin_headers should be in wp-includes/http.php. Is that file there and readable?

    Thread Starter jesse120502

    (@jesse120502)

    This is in the http.php file:

    function send_origin_headers() {
    	$origin = get_http_origin();
    
    	if ( is_allowed_http_origin( $origin ) ) {
    		header( 'Access-Control-Allow-Origin: ' . $origin );
    		header( 'Access-Control-Allow-Credentials: true' );
    		if ( 'OPTIONS' === $_SERVER['REQUEST_METHOD'] ) {
    			exit;
    		}
    		return $origin;
    	}
    
    	if ( 'OPTIONS' === $_SERVER['REQUEST_METHOD'] ) {
    		status_header( 403 );
    		exit;
    	}
    
    	return false;
    }
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    See https://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/

    Thread Starter jesse120502

    (@jesse120502)

    I tried to disable all plugins but i still dont have access to my admin panel.

    If you don’t mind, i can also give you the login details to my ftp server and admin panel. I would be really helpful if you could take a look there if you can fix it ??

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please don’t offer to send or post logon credentials on these forums: https://www.ads-software.com/support/guidelines#the-bad-stuff

    You may trust me, but it normalizes a dangerous practice. It’s a fine line, but one that we need to enforce. Thanks for your cooperation. Never give anyone access to your site without a signed, enforceable contract. I’m not willing to do that, nor could you afford me. ??

    Let’s start again with the reinstall. Delete all “loose” PHP files in the root of your site, except wp-config.php, and remove the directories wp-admin and wp-includes, then do the manual installation again: https://www.ads-software.com/support/article/updating-wordpress/#step-1-replace-wordpress-files

    Thread Starter jesse120502

    (@jesse120502)

    Okay the site works now! I disabled all plugins and am now enabling them 1 by 1. I get the http 500 error when i activate the classic editor plugin from wordpress.

    Thread Starter jesse120502

    (@jesse120502)

    I just tried it again and I actually get the error when i enable more than 3 plugins.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I recommend asking at https://www.ads-software.com/support/plugin/classic-editor/#new-post so the plugin’s developers and support community can help you with this.

    Thread Starter jesse120502

    (@jesse120502)

    @sterndata i just discoverd classic editor isnt the problem. Everytime i enable more than 2 plugins, i will get the error

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What’s the error in the debug log?

    Thread Starter jesse120502

    (@jesse120502)

    This is the error log:

    [Sun Mar 21 18:14:03.637950 2021] [lsapi:error] [pid 739930:tid 139748427425536] [client 92.109.206.88:58724] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function nocache_headers() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin.php:36\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/plugins.php(10): require_once()\n#1 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin.php on line 36\n, referer: https://www.vcwaterland.nl/wp-admin/users.php
    [Sun Mar 21 18:14:15.772968 2021] [lsapi:error] [pid 739930:tid 139747777054464] [client 92.109.206.88:58724] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function nocache_headers() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin.php:36\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/plugins.php(10): require_once()\n#1 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin.php on line 36\n
    [Sun Mar 21 18:14:18.209446 2021] [lsapi:error] [pid 740982:tid 139748007831296] [client 92.109.206.88:58724] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n
    [Sun Mar 21 18:14:20.267171 2021] [lsapi:error] [pid 739930:tid 139747944892160] [client 92.109.206.88:58724] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function wp() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php:16\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/index.php(17): require()\n#1 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-blog-header.php on line 16\n
    [Sun Mar 21 18:20:12.471039 2021] [lsapi:error] [pid 767493:tid 139945219802880] [client 2a06:2ec0:1::100:60632] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function wp_get_ready_cron_jobs() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-cron.php:79\nStack trace:\n#0 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-cron.php on line 79\n, referer: https://www.vcwaterland.nl/wp-cron.php?doing_wp_cron=1616347212.4086899757385253906250
    [Sun Mar 21 18:20:12.697234 2021] [lsapi:error] [pid 769953:tid 139945356171008] [client 2a06:2ec0:1::100:60648] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function send_origin_headers() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php:25\nStack trace:\n#0 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin-ajax.php on line 25\n, referer: https://www.vcwaterland.nl/wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=6d4c99811a
    [Sun Mar 21 18:20:15.305980 2021] [lsapi:error] [pid 758924:tid 139944804509440] [client 92.109.206.88:61097] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function nocache_headers() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin.php:36\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/plugins.php(10): require_once()\n#1 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin.php on line 36\n, referer: https://www.vcwaterland.nl/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Sun Mar 21 18:21:52.794010 2021] [autoindex:error] [pid 790828:tid 139945639397120] [client 168.91.221.30:33326] AH01276: Cannot serve directory /home/u12515p9108/domains/vcwaterland.nl/public_html/: No matching DirectoryIndex (index.php,index.html,index.htm,index.shtml,index.php5,index.php4,index.php3,index.phtml,index.cgi,index.pl) found, and server-generated directory index forbidden by Options directive, referer: https://www.ads-software.com/support/topic/http-500-error-62/?view=all
    [Sun Mar 21 18:22:06.767131 2021] [autoindex:error] [pid 790828:tid 139945209313024] [client 168.91.221.30:33326] AH01276: Cannot serve directory /home/u12515p9108/domains/vcwaterland.nl/public_html/: No matching DirectoryIndex (index.php,index.html,index.htm,index.shtml,index.php5,index.php4,index.php3,index.phtml,index.cgi,index.pl) found, and server-generated directory index forbidden by Options directive, referer: https://www.ads-software.com/support/topic/http-500-error-62/?view=all
    [Sun Mar 21 18:28:41.027633 2021] [lsapi:error] [pid 819385:tid 139945450579712] [client 92.109.206.88:65388] [host www.vcwaterland.nl] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function nocache_headers() in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin.php:36\nStack trace:\n#0 /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/edit.php(10): require_once()\n#1 {main}\n  thrown in /home/u12515p9108/domains/vcwaterland.nl/public_html/wp-admin/admin.php on line 36\n, referer: https://www.vcwaterland.nl/wp-admin/plugins.php?plugin_status=all&paged=1&s
Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Http 500 error’ is closed to new replies.