Error 500 everytime
-
Hi there.
I just installed WordPress on my Ubuntu 20.04 VPS with 4GB RAM.Everytime that I change something, activate a plugin or just update permalinks, the website goes in error 500.
What I have to do to fix this issue, is upload the WordPress core files again and then the website comes alive.
How can I avoid this?
I already increased the PHP limit to 3000M.
-
Any number of things can cause this.
Please check your web server logs to see exactly what is triggering this 500 internal server error, and then we can help you fix it.
I tried to install the same backup also in localhost, using XAMPP.
Just visiting the website 2-3 times I get this error:Fatal error: Uncaught Error: Call to undefined function wp() in G:\xampp\apps\wordpress\htdocs\wp-blog-header.php:16 Stack trace: #0 G:\xampp\apps\wordpress\htdocs\index.php(17): require() #1 {main} thrown in G:\xampp\apps\wordpress\htdocs\wp-blog-header.php on line 16Also this error:
Fatal error: Uncaught Error: Call to undefined function nocache_headers() in G:\xampp\apps\wordpress\htdocs\wp-admin\admin.php:36 Stack trace: #0 G:\xampp\apps\wordpress\htdocs\wp-admin\plugins.php(10): require_once() #1 {main} thrown in G:\xampp\apps\wordpress\htdocs\wp-admin\admin.php on line 36-
This reply was modified 5 years, 2 months ago by
giovanni256.
Up.
Another stack trace, I still can’t solve this issue…
thrown in /var/www/mydomain.com/wp-admin/admin-ajax.php on line 25" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com>2021/05/02 00:54:46 [error] 108458#108458: *441 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function send_orig>Stack trace: #0 {main} thrown in /var/www/mydomain.com/wp-admin/admin-ajax.php on line 25" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com>2021/05/02 00:54:48 [error] 108458#108458: *444 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function send_orig>Stack trace: #0 {main} thrown in /var/www/mydomain.com/wp-admin/admin-ajax.php on line 25" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com>2021/05/02 00:55:01 [error] 108458#108458: *441 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function send_orig>Stack trace: #0 {main} thrown in /var/www/mydomain.com/wp-admin/admin-ajax.php on line 25" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com>2021/05/02 00:55:03 [error] 108458#108458: *441 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function send_orig>Stack trace: #0 {main} thrown in /var/www/mydomain.com/wp-admin/admin-ajax.php on line 25" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com>2021/05/02 00:55:08 [error] 108458#108458: *441 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp() in />Stack trace: #0 /var/www/mydomain.com/index.php(17): require() #1 {main} thrown in /var/www/mydomain.com/wp-blog-header.php on line 16" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com, r>2021/05/02 00:55:12 [error] 108458#108458: *441 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp() in />Stack trace: #0 /var/www/mydomain.com/index.php(17): require() #1 {main} thrown in /var/www/mydomain.com/wp-blog-header.php on line 16" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com, r>2021/05/02 00:55:16 [error] 108458#108458: *441 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function send_orig>Stack trace: #0 {main} thrown in /var/www/mydomain.com/wp-admin/admin-ajax.php on line 25" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com>2021/05/02 00:56:23 [error] 108458#108458: *441 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function send_orig>Stack trace: #0 {main} thrown in /var/www/mydomain.com/wp-admin/admin-ajax.php on line 25" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com>2021/05/02 00:56:27 [error] 108458#108458: *441 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function nocache_h>Stack trace: #0 /var/www/mydomain.com/wp-admin/post.php(12): require_once() #1 {main} thrown in /var/www/mydomain.com/wp-admin/admin.php on line 36" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com, r>2021/05/02 00:56:27 [error] 108458#108458: *441 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function send_orig>Stack trace: #0 {main} thrown in /var/www/mydomain.com/wp-admin/admin-ajax.php on line 25" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com> Stack trace: #0 {main} thrown in /var/www/mydomain.com/wp-admin/admin-ajax.php on line 25" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com>2021/05/02 00:56:32 [error] 108458#108458: *441 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp() in />Stack trace: #0 /var/www/mydomain.com/index.php(17): require() #1 {main} thrown in /var/www/mydomain.com/wp-blog-header.php on line 16" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com, r>2021/05/02 00:58:50 [error] 108458#108458: *471 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp() in />Stack trace: #0 /var/www/mydomain.com/index.php(17): require() #1 {main} thrown in /var/www/mydomain.com/wp-blog-header.php on line 16" while reading response header from upstream, client: 5.77.68.225, server: mydomain.com, r>-
This reply was modified 5 years, 1 month ago by
giovanni256.
-
This reply was modified 5 years, 1 month ago by
giovanni256.
I analyzed the errors and I found that these calls are causing the error:
send_origin_headers(); nocache_headers(); wp();What can I do?
-
This reply was modified 5 years, 2 months ago by
The topic ‘Error 500 everytime’ is closed to new replies.