Title: PHP Errors in Debug Log
Last modified: June 17, 2024

---

# PHP Errors in Debug Log

 *  Resolved [jazir5](https://wordpress.org/support/users/jazir5/)
 * (@jazir5)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-errors-in-debug-log/)
 *  for more information. (This message was added in version 3.9.0.)WordPress core
   
   File: [/wp-includes/functions.php](https://github.com/WordPress/wordpress-develop/blob/6.5.4/src/wp-includes/functions.php)
   Line: 6078Jun 16, 2024 – 20:05:39(10 occurrences logged)3DatabaseTable ‘techtuto_wp175.
   wp_wanc_notice’ doesn’t exist for query SHOW FULL COLUMNS FROM `wp_wanc_notice`
   made by do_action(‘wp_ajax_save_notices’), WP_Hook->do_action, WP_Hook->apply_filters,
   WANC\Controllers\Notices->saveNotice, WANC\Repository->save, WANC\Database::insertJun
   16, 2024 – 20:05:33(9 occurrences logged)4DatabaseTable ‘techtuto_wp175.wp_wanc_notice’
   doesn’t exist for query SELECT * FROM wp_wanc_notice WHERE content = “” AND user_id
   = 1 made by do_action(‘wp_ajax_save_notices’), WP_Hook->do_action, WP_Hook->apply_filters,
   WANC\Controllers\Notices->saveNotice, WANC\Repositories\NoticeRepository->getOneByContentUserId,
   WANC\Database::getObjectJun 16, 2024 – 20:05:33(3 occurrences logged)5DatabaseTable‘
   techtuto_wp175.wp_wanc_notice’ doesn’t exist for query SHOW FULL COLUMNS FROM`
   wp_wanc_notice` made by do_action(‘wp_ajax_save_notices’), WP_Hook->do_action,
   WP_Hook->apply_filters, WANC\Controllers\Notices->saveNotice, WANC\Repositories\
   NoticeRepository->getOneByContentUserId, WANC\Database::getObjectJun 16, 2024–
   20:05:33(4 occurrences logged)6DatabaseTable ‘techtuto_wp175.wp_wanc_notice’ 
   doesn’t exist for query SELECT * FROM wp_wanc_notice WHERE content = ” Caution!
   The following WordPress constants are enabled and it is highly recommended that
   you disable them in production environments.WP_DEBUGWP_DEBUG_LOGSCRIPT_DEBUG”
   AND user_id = 1 made by do_action(‘wp_ajax_save_notices’), WP_Hook->do_action,
   WP_Hook->apply_filters, WANC\Controllers\Notices->saveNotice, WANC\Repositories\
   NoticeRepository->getOneByContentUserId, WANC\Database::getObjectJun 16, 2024–
   20:05:33(2 occurrences logged)7DatabaseTable ‘techtuto_wp175.wp_wanc_notice’ 
   doesn’t exist for query SELECT * FROM wp_wanc_notice WHERE content = “\\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” AND user_id = 1 made by do_action(‘
   wp_ajax_save_notices’), WP_Hook->do_action, WP_Hook->apply_filters, WANC\Controllers\
   Notices->saveNotice, WANC\Repositories\NoticeRepository->getOneByContentUserId,
   WANC\Database::getObjectJun 16, 2024 – 20:05:29(1 occurrence logged)8DatabaseTable‘
   techtuto_wp175.wp_wanc_notice’ doesn’t exist for query SELECT * FROM wp_wanc_notice
   WHERE content = “\\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” AND user_id = 1 made
   by do_action(‘wp_ajax_save_notices’), WP_Hook->do_action, WP_Hook->apply_filters,
   WANC\Controllers\Notices->saveNotice, WANC\Repositories\NoticeRepository->getOneByContentUserId,
   WANC\Database::getObjectJun 16, 2024 – 20:05:29(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 Debugging in WordPress for more information. (This message
   was added in version 4.4.0.)WordPress coreFile: [/wp-includes/functions.php](https://github.com/WordPress/wordpress-develop/blob/6.5.4/src/wp-includes/functions.php)
   Line: 6078Jun 16, 2024 – 20:05:28(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-
   >saveNotice()#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#
   3 /wp-includes/plugin.php(517): WP_Hook->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: [Hide admin notices](https://wpspeedacademy.com/wp-admin/tools.php?page=debug-log-manager)
   File: [/wp-content/plugins/wp-admin-notification-center/src/Controllers/Notices.php](https://wpspeedacademy.com/wp-admin/plugin-editor.php?file=wp-admin-notification-center%2Fsrc%2FControllers%2FNotices.php&plugin=wp-admin-notification-center%2Findex.php)
   Line: 22Jun 16, 2024 – 20:04:10(1 occurrence logged)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [roumi](https://wordpress.org/support/users/roumi/)
 * (@roumi)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-errors-in-debug-log/#post-17841172)
 * Hi,
 * Thanks a lot for reporting this, I’ve release a new version with a fix 🙂
    -  This reply was modified 1 year, 11 months ago by [roumi](https://wordpress.org/support/users/roumi/).
 *  Thread Starter [jazir5](https://wordpress.org/support/users/jazir5/)
 * (@jazir5)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-errors-in-debug-log/#post-17841240)
 * Getting new errors from the new version:
 * PHP 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->saveNotice()#2 /wp-includes/class-wp-hook.php(
   348): WP_Hook->apply_filters()#3 /wp-includes/plugin.php(517): WP_Hook-
 * >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: [Hide admin notices](https://strongbpc.com/wp-admin/tools.php?page=debug-log-manager)
 * File: [/wp-content/plugins/wp-admin-notification-center/src/Controllers/Notices.php](https://strongbpc.com/wp-admin/plugin-editor.php?file=wp-admin-notification-center%2Fsrc%2FControllers%2FNotices.php&plugin=wp-admin-notification-center%2Findex.php)
   
   Line: 22Jun 21, 2024 – 02:16:37
 * (2 occurrences logged)2PHP WarningUndefined array key “notices”Plugin: [Hide admin notices](https://strongbpc.com/wp-admin/tools.php?page=debug-log-manager)
   
   File: [/wp-content/plugins/wp-admin-notification-center/src/Controllers/Notices.php](https://strongbpc.com/wp-admin/plugin-editor.php?file=wp-admin-notification-center%2Fsrc%2FControllers%2FNotices.php&plugin=wp-admin-notification-center%2Findex.php)
   Line: 22
 *  Plugin Author [roumi](https://wordpress.org/support/users/roumi/)
 * (@roumi)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-errors-in-debug-log/#post-17841632)
 * Sorry for that, it should be better now.
 *  Thread Starter [jazir5](https://wordpress.org/support/users/jazir5/)
 * (@jazir5)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-errors-in-debug-log/#post-17842666)
 * I went through loading every single page on the backend and the frontend, and
   there are no new errors in the debug log. I think we’re good!
 *  Plugin Author [roumi](https://wordpress.org/support/users/roumi/)
 * (@roumi)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-errors-in-debug-log/#post-17844750)
 * Nice !
 *  Thread Starter [jazir5](https://wordpress.org/support/users/jazir5/)
 * (@jazir5)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-errors-in-debug-log/#post-17844986)
 * [@roumi](https://wordpress.org/support/users/roumi/)
 * also just wanted to mention, I got the logs from this plugin, it’s really useful:
 * [https://wordpress.org/plugins/debug-log-manager/](https://wordpress.org/plugins/debug-log-manager/)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘PHP Errors in Debug Log’ is closed to new replies.

 * ![](https://ps.w.org/wp-admin-notification-center/assets/icon-256x256.png?rev
   =2882105)
 * [Hide admin notices - Admin Notification Center](https://wordpress.org/plugins/wp-admin-notification-center/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-admin-notification-center/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-admin-notification-center/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-admin-notification-center/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-admin-notification-center/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [jazir5](https://wordpress.org/support/users/jazir5/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/php-errors-in-debug-log/#post-17844986)
 * Status: resolved