WPIntell

Source evidence

PHP Errors in Debug Log

Hide admin notices – Admin Notification Center · support · 2024-06-17T04:07:00+00:00

mixedsentiment
highseverity
0.94relevance
6replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

2 / 31 rows with source links

6.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
jazir5 resolved
PHP NoticeFunction wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)WordPress core File: /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 core File: /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 File: /wp-content/plugins/wp-admin-notification-center/src/Controllers/Notices.php Line: 22Jun 16, 2024 – 20:04:10 (1 occurrence logged) 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 . 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 File: /wp-content/plugins/wp-admin-notification-center/src/Controllers/Notices.php Line: 22Jun 21, 2024 – 02:16:37 (2 occurrences logged)2PHP WarningUndefined array key “notices”Plugin: Hide admin notices File: /wp-content/plugins/wp-admin-notification-center/src/Controllers/Notices.php Line: 22 Sorry for that, it should be better now. 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! Nice ! @roumi also just wanted to mention, I got the logs from this plugin, it’s really useful: https://wordpress.org/plugins/debug-log-manager/

Comments

6 shown
roumi 2024-06-21T10:14:00+00:00

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 .

jazir5 2024-06-21T10:20:00+00:00

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 File: /wp-content/plugins/wp-admin-notification-center/src/Controllers/Notices.php Line: 22Jun 21, 2024 – 02:16:37 (2 occurrences logged)2PHP WarningUndefined array key “notices”Plugin: Hide admin notices File: /wp-content/plugins/wp-admin-notification-center/src/Controllers/Notices.php Line: 22

roumi 2024-06-21T12:57:00+00:00

Sorry for that, it should be better now.

jazir5 2024-06-21T22:20:00+00:00

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!

roumi 2024-06-23T16:25:00+00:00

Nice !

jazir5 2024-06-23T20:42:00+00:00

@roumi also just wanted to mention, I got the logs from this plugin, it’s really useful: https://wordpress.org/plugins/debug-log-manager/