InMotion Hosting Support Center

No error logs in WordPress

Category: Wordpress

InMotionFans
n/a Points
Asked:
2015-01-08 6:01 am EST

Hits: 459
I'm following this post
http://easypiewp.com/wordpress-error-log-your-friend/
to generate error logs in wordpress. Have also tried a lot of other tricks. I just cannot generate the log file that has errors.

And I'm sure there are errors because I have made a buggy plugin myself.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

John-Paul
Staff
31,633 Points
2015-01-08 4:10 pm EST
Hello,

Thank you for your question about WordPress error logs. I recommend following our guide on Turning on WordPress debugging.

It includes the following line of code that may provide more detailed error information:
define( 'SCRIPT_DEBUG', true );

If you have any further questions, feel free to post them below.

Thank you,
John-Paul

You must login before you can post a comment about this answer.

Ok, I did that but where do I get to see the errors?
I do not see them on the WP Admin console, neither do I find any debug.log etc in the filesystem.
buildwithcards
3 Points
2015-01-09 3:51 am EST
Hello buildwithcards,

Thank you for your question. The official WordPress codex on debugging states:
"Enabling WP_DEBUG will cause all PHP errors, notices and warnings to be displayed. "

So any errors that are generated will be displayed on the page. If you are not seeing any errors on the page or in your logs ("WP_DEBUG...causes all errors to also be saved to a debug.log log file inside the /wp-content/ directory.") , then no errors are being generated.

Thank you,
John-Paul
John-Paul
31,633 Points
Staff
2015-01-12 2:28 pm EST
Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!