-
Author
-
November 7, 2016 at 08:54 #143090talkhrmParticipant
Most of the time the site is experiencing err_empty_response, followed by 502 Bad Gateway error and finally 508 error or Resource limit error. This is happening after i have updated the theme. Kindly check.
November 7, 2016 at 19:40 #143177RaduModeratorPlease follow these steps to enable wp debug:
- Connect to your server by FTP
- Look in root directory of your WordPress install and open wp-config.php
- Search for define( ‘WP_DEBUG’, false ); and change FALSE value to TRUE
COPY CODEdefine( 'WP_DEBUG', true );
- After this line add this:
COPY CODEdefine( 'WP_DEBUG_LOG', true );
WP_DEBUG_LOG is a companion to WP_DEBUG that causes all errors to also be saved to a debug.log log file inside the /wp-content/ directory. This is useful if you want to review all notices later or need to view notices generated off-screen (e.g. during an AJAX request or wp-cron run).
Repeat the described actions and then check the debug.log file and let me know what error appears.
If this is useless please try to deactivate additional plugins except Visual Composer, K-elements, BuddyPress, Paid memberships pro and revolution slider.
After you have disabled the plugins try to see if the error persists.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 10, 2016 at 18:52 #143787RaduModeratorIn debug are shown only notices that cannot cause your reported errors that make your site to crash 502 Bad Gateway error and finally 508 this kind of errors are related to server resources ask on hosting what causes that
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 2, 2017 at 08:25 #154566steve0nzParticipantI just tried this… first of all my wp-config.php didn’t have the line
define( 'WP_DEBUG', true );
So I added the next two lines
COPY CODEdefine( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true );
However there are no logs in the logfile
March 2, 2017 at 15:57 #154601RaduModeratorOk now check the debug.log file located in wp-content/ directory
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 3, 2017 at 01:05 #154649steve0nzParticipantHi I receive this error:
[02-Mar-2017 08:46:55 UTC] PHP Notice: Trying to get property of non-object in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-includes/class-wp-query.php on line 3884
[02-Mar-2017 08:46:55 UTC] PHP Notice: Trying to get property of non-object in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-includes/class-wp-query.php on line 3884
[02-Mar-2017 08:46:59 UTC] PHP Notice: Trying to get property of non-object in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-includes/class-wp-query.php on line 3884
[02-Mar-2017 08:46:59 UTC] PHP Notice: Trying to get property of non-object in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-includes/class-wp-query.php on line 3884
[02-Mar-2017 08:47:22 UTC] PHP Notice: Trying to get property of non-object in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-includes/class-wp-query.php on line 3884
[02-Mar-2017 08:47:22 UTC] PHP Notice: Trying to get property of non-object in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-includes/class-wp-query.php on line 3884March 3, 2017 at 16:47 #154678RaduModeratorHi,
Those are not errors, those are some notices and you should disable wp debug if it’s activated from wp-config.php form root wp folder
https://codex.wordpress.org/WP_DEBUG
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.