{"id":17829158,"date":"2024-06-17T04:07:11","date_gmt":"2024-06-17T04:07:11","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-errors-in-debug-log\/"},"modified":"2024-06-17T04:07:11","modified_gmt":"2024-06-17T04:07:11","slug":"php-errors-in-debug-log","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-errors-in-debug-log\/","title":{"rendered":"PHP Errors in Debug Log"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">PHP NoticeFunction wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see&nbsp;<a>Debugging in WordPress<\/a>&nbsp;for more information. (This message was added in version 3.9.0.)WordPress core<br \/>File:&nbsp;<a href=\"https:\/\/github.com\/WordPress\/wordpress-develop\/blob\/6.5.4\/src\/wp-includes\/functions.php\" target=\"_blank\" rel=\"noreferrer noopener\">\/wp-includes\/functions.php<\/a><br \/>Line: 6078Jun 16, 2024 &#8211; 20:05:39<br \/>(10 occurrences logged)3DatabaseTable &#8216;techtuto_wp175.wp_wanc_notice&#8217; doesn&#8217;t exist for query SHOW FULL COLUMNS FROM <code>wp_wanc_notice<\/code> made by do_action(&#8216;wp_ajax_save_notices&#8217;), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, WANC\\Controllers\\Notices-&gt;saveNotice, WANC\\Repository-&gt;save, WANC\\Database::insertJun 16, 2024 &#8211; 20:05:33<br \/>(9 occurrences logged)4DatabaseTable &#8216;techtuto_wp175.wp_wanc_notice&#8217; doesn&#8217;t exist for query SELECT * FROM wp_wanc_notice WHERE content = &#8220;&#8221; AND user_id = 1 made by do_action(&#8216;wp_ajax_save_notices&#8217;), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, WANC\\Controllers\\Notices-&gt;saveNotice, WANC\\Repositories\\NoticeRepository-&gt;getOneByContentUserId, WANC\\Database::getObjectJun 16, 2024 &#8211; 20:05:33<br \/>(3 occurrences logged)5DatabaseTable &#8216;techtuto_wp175.wp_wanc_notice&#8217; doesn&#8217;t exist for query SHOW FULL COLUMNS FROM <code>wp_wanc_notice<\/code> made by do_action(&#8216;wp_ajax_save_notices&#8217;), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, WANC\\Controllers\\Notices-&gt;saveNotice, WANC\\Repositories\\NoticeRepository-&gt;getOneByContentUserId, WANC\\Database::getObjectJun 16, 2024 &#8211; 20:05:33<br \/>(4 occurrences logged)6DatabaseTable &#8216;techtuto_wp175.wp_wanc_notice&#8217; doesn&#8217;t exist for query SELECT * FROM wp_wanc_notice WHERE content = &#8221; Caution!The following WordPress constants are enabled and it is highly recommended that you disable them in production environments.WP_DEBUGWP_DEBUG_LOGSCRIPT_DEBUG&#8221; AND user_id = 1 made by do_action(&#8216;wp_ajax_save_notices&#8217;), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, WANC\\Controllers\\Notices-&gt;saveNotice, WANC\\Repositories\\NoticeRepository-&gt;getOneByContentUserId, WANC\\Database::getObjectJun 16, 2024 &#8211; 20:05:33<br \/>(2 occurrences logged)7DatabaseTable &#8216;techtuto_wp175.wp_wanc_notice&#8217; doesn&#8217;t exist for query SELECT * FROM wp_wanc_notice WHERE content = &#8220;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tElementor Pro Data Updater\\\\n\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tDatabase update process is running in the background. Taking a while?\\\\n\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tClick here to run it now\\\\t\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t&#8221; AND user_id = 1 made by do_action(&#8216;wp_ajax_save_notices&#8217;), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, WANC\\Controllers\\Notices-&gt;saveNotice, WANC\\Repositories\\NoticeRepository-&gt;getOneByContentUserId, WANC\\Database::getObjectJun 16, 2024 &#8211; 20:05:29<br \/>(1 occurrence logged)8DatabaseTable &#8216;techtuto_wp175.wp_wanc_notice&#8217; doesn&#8217;t exist for query SELECT * FROM wp_wanc_notice WHERE content = &#8220;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tElementor Data Updater\\\\n\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tDatabase update process is running in the background. Taking a while?\\\\n\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tClick here to run it now\\\\t\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\n\\\\t\\\\t&#8221; AND user_id = 1 made by do_action(&#8216;wp_ajax_save_notices&#8217;), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, WANC\\Controllers\\Notices-&gt;saveNotice, WANC\\Repositories\\NoticeRepository-&gt;getOneByContentUserId, WANC\\Database::getObjectJun 16, 2024 &#8211; 20:05:29<br \/>(1 occurrence logged)9PHP NoticeFunction map_meta_cap was called incorrectly. The post type shop_order is not registered, so it may not be reliable to check the capability edit_post against a post of that type. Please see&nbsp;<a>Debugging in WordPress<\/a>&nbsp;for more information. (This message was added in version 4.4.0.)WordPress core<br \/>File:&nbsp;<a href=\"https:\/\/github.com\/WordPress\/wordpress-develop\/blob\/6.5.4\/src\/wp-includes\/functions.php\" target=\"_blank\" rel=\"noreferrer noopener\">\/wp-includes\/functions.php<\/a><br \/>Line: 6078Jun 16, 2024 &#8211; 20:05:28<br \/>(2 occurrences logged)10PHP FatalUncaught TypeError: array_map(): Argument #2 ($array) must be of type array, null givenStack trace:#0 \/wp-content\/plugins\/wp-admin-notification-center\/src\/Controllers\/Notices.php(22): array_map()#1 \/wp-includes\/class-wp-hook.php(324): WANC\\Controllers\\Notices-&gt;saveNotice()#2 \/wp-includes\/class-wp-hook.php(348): WP_Hook-&gt;apply_filters()#3 \/wp-includes\/plugin.php(517): WP_Hook-&gt;do_action()#4 \/wp-admin\/admin-ajax.php(192): do_action()#5 {main} thrown in \/wp-content\/plugins\/wp-admin-notification-center\/src\/Controllers\/Notices.php on line 22Plugin:&nbsp;<a href=\"https:\/\/wpspeedacademy.com\/wp-admin\/tools.php?page=debug-log-manager\" target=\"_blank\" rel=\"noreferrer noopener\">Hide admin notices<\/a><br \/>File:&nbsp;<a href=\"https:\/\/wpspeedacademy.com\/wp-admin\/plugin-editor.php?file=wp-admin-notification-center%2Fsrc%2FControllers%2FNotices.php&amp;plugin=wp-admin-notification-center%2Findex.php\" target=\"_blank\" rel=\"noreferrer noopener\">\/wp-content\/plugins\/wp-admin-notification-center\/src\/Controllers\/Notices.php<\/a><br \/>Line: 22Jun 16, 2024 &#8211; 20:04:10<br \/>(1 occurrence logged)<\/p>\n","protected":false},"template":"","class_list":["post-17829158","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17829158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17829158\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17829158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}