{"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&#038;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<div data-elementor-type=\"wp-post\" data-elementor-id=\"23164\" class=\"elementor elementor-23164\" data-elementor-post-type=\"kb\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c214843 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c214843\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e26e96f\" data-id=\"e26e96f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a0e5dea elementor-widget elementor-widget-heading\" data-id=\"a0e5dea\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">WordPress: Error in your WordPress logs<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a10dbf0 elementor-widget elementor-widget-text-editor\" data-id=\"a10dbf0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>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><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><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<div class=\"elementor-element elementor-element-644a8dd elementor-widget elementor-widget-text-editor\" data-id=\"644a8dd\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>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<div class=\"elementor-element elementor-element-99af50c elementor-widget elementor-widget-heading\" data-id=\"99af50c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Scenario:<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6d6f37a elementor-widget elementor-widget-text-editor\" data-id=\"6d6f37a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>ALERT<\/strong> \u2013 script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker \u2018<em>x.x.x.x<\/em>\u2018, file \u2018\/home\/&lt;<em>username<\/em>&gt;\/public_html\/&lt;<em>domain name<\/em>&gt;\/wp-content\/plugins\/all-in-one-seo-pack\/all_in_one_seo_pack.php\u2019, line 120)\u00a0or\u00a0<code>suhosin[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><p><strong>RESOLUTION:\u00a0<\/strong>To fix this problem, set a Max Memory Limit in the WP Config file.<\/p><p><code>&gt;&gt;\u00a0 define('WP_MAX_MEMORY_LIMIT', '128M');<\/code><\/p><p>If you need more information, you may refer to <a href=\"https:\/\/wordpress.org\/support\/topic\/suhosin4652-alert-script-tried-to-increase-memory_limit-to-268435456-bytes\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" data-wpel-link=\"external\">WP\u2019s Support Forum<\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1e2f8b9 elementor-widget elementor-widget-heading\" data-id=\"1e2f8b9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">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<div class=\"elementor-element elementor-element-8219d72 elementor-widget elementor-widget-text-editor\" data-id=\"8219d72\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Are you still hesitating whether you should set up your WordPress Logs? Well, please take one minute to read through.<\/p><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><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><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":"<p>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 [&hellip;]<\/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}]}}