{"id":23164,"date":"2020-12-09T09:48:18","date_gmt":"2020-12-09T01:48:18","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&p=23164"},"modified":"2022-09-08T21:25:20","modified_gmt":"2022-09-08T13:25:20","slug":"wordpress-error-in-your-wordpress-logs","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/wordpress-error-in-your-wordpress-logs","title":{"rendered":"WordPress : Error in your WordPress logs"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t

WordPress: Error in your WordPress logs<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

No software is perfect, after all, there might be chances when you run into problems or bugs with WordPress. Most of its users extend the platform with a variety of themes and plugins and while beneficial and essential for the most part. This can result in compatibility issues and other unforeseen problems.<\/p>

Besides that, when you run into WordPress bugs or errors, there are many places online to seek help. However, you will need to know what the problem actually is in order to get assistance. As a result, it\u2019s very important for users to know how to carry out some basic troubleshooting.<\/p>

To perform troubleshooting, you will first need to enable your WordPress logs. This is because it will help you to find out what errors are causing the problems you\u2019re experiencing. Not only that, WordPress logs can also help to track the problem to their source. Once you\u2019re armed with that knowledge, then solving the issue will be so much simpler.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t

If you are encountering the similar scenario below in your WordPress logs, please follow the guide :<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t

Scenario:<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

ALERT<\/strong> \u2013 script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker \u2018x.x.x.x<\/em>\u2018, file \u2018\/home\/<username<\/em>>\/public_html\/<domain name<\/em>>\/wp-content\/plugins\/all-in-one-seo-pack\/all_in_one_seo_pack.php\u2019, line 120)\u00a0or\u00a0suhosin[4652]: ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker 'xx.xx.xx.xx.', file 'example.com\/wp-admin\/admin.php', line 109)<\/code><\/p>

RESOLUTION:\u00a0<\/strong>To fix this problem, set a Max Memory Limit in the WP Config file.<\/p>

>>\u00a0 define('WP_MAX_MEMORY_LIMIT', '128M');<\/code><\/p>

If you need more information, you may refer to WP\u2019s Support Forum<\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t

Why You Should Set Up WordPress Error Logs in WP-Config?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

Are you still hesitating whether you should set up your WordPress Logs? Well, please take one minute to read through.<\/p>

First off, the wp-config.php file is a WordPress configuration file that contains important WordPress settings. These settings can actually tell your website how to\u00a0connect to your WordPress database. They will also tell which database table prefix to use and generates authentication keys to make your WordPress site even more secure.<\/p>

Apart from default WordPress settings, we can use the wp-config file to define several other parameters. Besides, it can also enable WordPress debugging mode and save WordPress error logs.<\/p>

This helps you to identify the plugins or scripts that are causing the errors. Then, you may go ahead and find a solution to fix those WordPress errors.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"

WordPress: Error in your WordPress logs No software is perfect, after all, there might be chances when you run into problems or bugs with WordPress. Most of its users extend the platform with a variety of themes and plugins and while beneficial and essential for the most part. This can result in compatibility issues and […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[43],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/23164"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=23164"}],"version-history":[{"count":1,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/23164\/revisions"}],"predecessor-version":[{"id":31777,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/23164\/revisions\/31777"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=23164"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=23164"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=23164"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=23164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}