capabalities.php error on line 149
-
I have been getting loads of the same error with capabilities.php. It is getting be annoying. I have no idea what is causing it, and how to resolve it, anyone has any idea or direction on where to look to resolve it? Thanks in advance.
Trace:
[28-Mar-2022 13:29:36 UTC] PHP Notice: Undefined offset: 0 in /home/example/web/example.lv/public_html/wp-includes/capabilities.php on line 149 [28-Mar-2022 13:29:36 UTC] PHP Stack trace: [28-Mar-2022 13:29:36 UTC] PHP 1. {main}() /home/example/web/example.lv/public_html/wp-admin/edit.php:0 [28-Mar-2022 13:29:36 UTC] PHP 2. WP_List_Table->display() /home/example/web/example.lv/public_html/wp-admin/edit.php:477 [28-Mar-2022 13:29:36 UTC] PHP 3. WP_List_Table->display_rows_or_placeholder() /home/example/web/example.lv/public_html/wp-admin/includes/class-wp-list-table.php:1289 [28-Mar-2022 13:29:36 UTC] PHP 4. WP_Posts_List_Table->display_rows($posts = *uninitialized*, $level = *uninitialized*) /home/example/web/example.lv/public_html/wp-admin/includes/class-wp-list-table.php:1362 [28-Mar-2022 13:29:36 UTC] PHP 5. WP_Posts_List_Table->_display_rows($posts = [0 => class WP_Post { public $ID = 234790; public $post_author = '1'; public $post_date = '2022-03-28 14:50:52'; public $post_date_gmt = '2022-03-28 11:50:52'; public $post_content = ''; public $post_title = 'Order – March 28, 2022 @ 02:50 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_n4o697287d7BC'; public $post_name = 'pasutijums-mar-28-2022-1150-am'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-28 14:53:31'; public $post_modified_gmt = '2022-03-28 11:53:31'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234790'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 1 => class WP_Post { public $ID = 234786; public $post_author = '1'; public $post_date = '2022-03-28 14:23:41'; public $post_date_gmt = '2022-03-28 11:23:41'; public $post_content = ''; public $post_title = 'Order – March 28, 2022 @ 02:23 PM'; public $post_excerpt = 'Piegādāt uz Jēkabpilī, TC Sprīdītis (omniva)'; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_YDvb5FUTJv8k2'; public $post_name = 'pasutijums-mar-28-2022-1123-am'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-28 14:24:35'; public $post_modified_gmt = '2022-03-28 11:24:35'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234786'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '5'; public $filter = 'raw' }, 2 => class WP_Post { public $ID = 234782; public $post_author = '1'; public $post_date = '2022-03-28 14:10:25'; public $post_date_gmt = '2022-03-28 11:10:25'; public $post_content = ''; public $post_title = 'Order – March 28, 2022 @ 02:10 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_04CQfKdVRohrE'; public $post_name = 'pasutijums-mar-28-2022-1110-am'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-28 14:11:31'; public $post_modified_gmt = '2022-03-28 11:11:31'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234782'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '5'; public $filter = 'raw' }, 3 => class WP_Post { public $ID = 234779; public $post_author = '1'; public $post_date = '2022-03-28 13:57:54'; public $post_date_gmt = '2022-03-28 10:57:54'; public $post_content = ''; public $post_title = 'Order – March 28, 2022 @ 01:57 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_x7TTKFdpKOolk'; public $post_name = 'pasutijums-mar-28-2022-1057-am'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-28 13:58:50'; public $post_modified_gmt = '2022-03-28 10:58:50'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234779'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 4 => class WP_Post { public $ID = 234270; public $post_author = '1'; public $post_date = '2022-03-28 10:56:43'; public $post_date_gmt = '2022-03-28 07:56:43'; public $post_content = ''; public $post_title = 'Order – marts 28, 2022 @ 10:56 AM'; public $post_excerpt = ''; public $post_status = 'wc-shipping-progress'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_jlf0KGiZa5o12'; public $post_name = 'pasutijums-mar-28-2022-0756-am'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-28 10:59:02'; public $post_modified_gmt = '2022-03-28 07:59:02'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234270'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 5 => class WP_Post { public $ID = 234269; public $post_author = '1'; public $post_date = '2022-03-28 10:18:22'; public $post_date_gmt = '2022-03-28 07:18:22'; public $post_content = ''; public $post_title = 'Order – 28 марта, 2022 @ 10:18 ДП'; public $post_excerpt = ''; public $post_status = 'wc-failed'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_UCzDk5phnYLuN'; public $post_name = 'zakaz-28-mar-2022-v-0718'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-28 10:18:22'; public $post_modified_gmt = '2022-03-28 07:18:22'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/ru/?post_type=shop_order&p=234269'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '2'; public $filter = 'raw' }, 6 => class WP_Post { public $ID = 234126; public $post_author = '1'; public $post_date = '2022-03-27 22:18:59'; public $post_date_gmt = '2022-03-27 19:18:59'; public $post_content = ''; public $post_title = 'Order – 27 марта, 2022 @ 10:18 ПП'; public $post_excerpt = ''; public $post_status = 'wc-failed'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_gfXOns4Tpm7Zm'; public $post_name = 'zakaz-27-mar-2022-v-1918'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-27 22:18:59'; public $post_modified_gmt = '2022-03-27 19:18:59'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/ru/?post_type=shop_order&p=234126'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '3'; public $filter = 'raw' }, 7 => class WP_Post { public $ID = 234123; public $post_author = '1'; public $post_date = '2022-03-27 20:31:30'; public $post_date_gmt = '2022-03-27 17:31:30'; public $post_content = ''; public $post_title = 'Order – March 27, 2022 @ 08:31 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_yhsZjQyZ9qrGO'; public $post_name = 'pasutijums-mar-27-2022-0531-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-27 20:33:11'; public $post_modified_gmt = '2022-03-27 17:33:11'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234123'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 8 => class WP_Post { public $ID = 234120; public $post_author = '1'; public $post_date = '2022-03-27 19:19:33'; public $post_date_gmt = '2022-03-27 16:19:33'; public $post_content = ''; public $post_title = 'Order – March 27, 2022 @ 07:19 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_zotc9HrloZGzr'; public $post_name = 'pasutijums-mar-27-2022-0419-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-27 19:20:50'; public $post_modified_gmt = '2022-03-27 16:20:50'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234120'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 9 => class WP_Post { public $ID = 234117; public $post_author = '1'; public $post_date = '2022-03-27 17:26:22'; public $post_date_gmt = '2022-03-27 14:26:22'; public $post_content = ''; public $post_title = 'Order – March 27, 2022 @ 05:26 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_HMveZRrAMMtP9'; public $post_name = 'pasutijums-mar-27-2022-0226-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-27 17:27:51'; public $post_modified_gmt = '2022-03-27 14:27:51'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234117'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 10 => class WP_Post { public $ID = 234113; public $post_author = '1'; public $post_date = '2022-03-27 15:11:00'; public $post_date_gmt = '2022-03-27 12:11:00'; public $post_content = ''; public $post_title = 'Order – March 27, 2022 @ 03:11 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_TOfiyzim2JVjv'; public $post_name = 'pasutijums-mar-27-2022-1211-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-27 15:12:52'; public $post_modified_gmt = '2022-03-27 12:12:52'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234113'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 11 => class WP_Post { public $ID = 234110; public $post_author = '1'; public $post_date = '2022-03-27 14:19:22'; public $post_date_gmt = '2022-03-27 11:19:22'; public $post_content = ''; public $post_title = 'Order – March 27, 2022 @ 02:19 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_XmEtgxCU1VzlS'; public $post_name = 'pasutijums-mar-27-2022-1119-am'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-27 14:20:46'; public $post_modified_gmt = '2022-03-27 11:20:46'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234110'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 12 => class WP_Post { public $ID = 234107; public $post_author = '1'; public $post_date = '2022-03-27 12:35:39'; public $post_date_gmt = '2022-03-27 09:35:39'; public $post_content = ''; public $post_title = 'Order – March 27, 2022 @ 12:35 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_wBrKIqoH5yY5t'; public $post_name = 'pasutijums-mar-27-2022-0935-am'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-27 12:36:48'; public $post_modified_gmt = '2022-03-27 09:36:48'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234107'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '5'; public $filter = 'raw' }, 13 => class WP_Post { public $ID = 234104; public $post_author = '1'; public $post_date = '2022-03-27 01:01:21'; public $post_date_gmt = '2022-03-26 23:01:21'; public $post_content = ''; public $post_title = 'Order – March 27, 2022 @ 01:01 AM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_nQwUdpmYfMVVQ'; public $post_name = 'pasutijums-mar-26-2022-1101-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-27 01:04:25'; public $post_modified_gmt = '2022-03-26 23:04:25'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234104'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 14 => class WP_Post { public $ID = 234101; public $post_author = '1'; public $post_date = '2022-03-26 23:32:03'; public $post_date_gmt = '2022-03-26 21:32:03'; public $post_content = ''; public $post_title = 'Order – March 26, 2022 @ 11:32 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_1slw29pmADVsX'; public $post_name = 'pasutijums-mar-26-2022-0932-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-26 23:33:42'; public $post_modified_gmt = '2022-03-26 21:33:42'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234101'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 15 => class WP_Post { public $ID = 234098; public $post_author = '1'; public $post_date = '2022-03-26 17:47:14'; public $post_date_gmt = '2022-03-26 15:47:14'; public $post_content = ''; public $post_title = 'Order – March 26, 2022 @ 05:47 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_oDiMbTh79KDiE'; public $post_name = 'pasutijums-mar-26-2022-0347-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-26 17:48:13'; public $post_modified_gmt = '2022-03-26 15:48:13'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234098'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 16 => class WP_Post { public $ID = 234095; public $post_author = '1'; public $post_date = '2022-03-26 12:24:00'; public $post_date_gmt = '2022-03-26 10:24:00'; public $post_content = ''; public $post_title = 'Order – March 26, 2022 @ 12:24 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_Ja485flBiA7Bp'; public $post_name = 'pasutijums-mar-26-2022-1024-am'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-26 12:26:14'; public $post_modified_gmt = '2022-03-26 10:26:14'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234095'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 17 => class WP_Post { public $ID = 234091; public $post_author = '1'; public $post_date = '2022-03-25 19:55:32'; public $post_date_gmt = '2022-03-25 17:55:32'; public $post_content = ''; public $post_title = 'Order – March 25, 2022 @ 07:55 PM'; public $post_excerpt = ''; public $post_status = 'wc-missing-payment'; public $comment_status = 'closed'; public $ping_status = 'closed'; public $post_password = 'wc_order_pfa7lPOEAodL4'; public $post_name = 'zakaz-25-mar-2022-v-1755'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-28 16:00:38'; public $post_modified_gmt = '2022-03-28 13:00:38'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/ru/?post_type=shop_order&p=234091'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '13'; public $filter = 'raw' }, 18 => class WP_Post { public $ID = 234081; public $post_author = '1'; public $post_date = '2022-03-25 17:35:28'; public $post_date_gmt = '2022-03-25 15:35:28'; public $post_content = ''; public $post_title = 'Order – March 25, 2022 @ 05:35 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_LXY3RSB2Rcu7V'; public $post_name = 'pasutijums-mar-25-2022-0335-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-25 17:36:51'; public $post_modified_gmt = '2022-03-25 15:36:51'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234081'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, 19 => class WP_Post { public $ID = 234078; public $post_author = '1'; public $post_date = '2022-03-25 16:36:59'; public $post_date_gmt = '2022-03-25 14:36:59'; public $post_content = ''; public $post_title = 'Order – March 25, 2022 @ 04:36 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_gydsmBJXoJdo7'; public $post_name = 'pasutijums-mar-25-2022-0236-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-25 16:38:19'; public $post_modified_gmt = '2022-03-25 14:38:19'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234078'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }], $level = 0) /home/example/web/example.lv/public_html/wp-admin/includes/class-wp-posts-list-table.php:772 [28-Mar-2022 13:29:36 UTC] PHP 6. WP_Posts_List_Table->single_row($post = class WP_Post { public $ID = 234078; public $post_author = '1'; public $post_date = '2022-03-25 16:36:59'; public $post_date_gmt = '2022-03-25 14:36:59'; public $post_content = ''; public $post_title = 'Order – March 25, 2022 @ 04:36 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_gydsmBJXoJdo7'; public $post_name = 'pasutijums-mar-25-2022-0236-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-25 16:38:19'; public $post_modified_gmt = '2022-03-25 14:38:19'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234078'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, $level = 0) /home/example/web/example.lv/public_html/wp-admin/includes/class-wp-posts-list-table.php:795 [28-Mar-2022 13:29:36 UTC] PHP 7. WP_List_Table->single_row_columns($item = class WP_Post { public $ID = 234078; public $post_author = '1'; public $post_date = '2022-03-25 16:36:59'; public $post_date_gmt = '2022-03-25 14:36:59'; public $post_content = ''; public $post_title = 'Order – March 25, 2022 @ 04:36 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_gydsmBJXoJdo7'; public $post_name = 'pasutijums-mar-25-2022-0236-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-25 16:38:19'; public $post_modified_gmt = '2022-03-25 14:38:19'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234078'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }) /home/example/web/example.lv/public_html/wp-admin/includes/class-wp-posts-list-table.php:1384 [28-Mar-2022 13:29:36 UTC] PHP 8. WP_Posts_List_Table->handle_row_actions($item = class WP_Post { public $ID = 234078; public $post_author = '1'; public $post_date = '2022-03-25 16:36:59'; public $post_date_gmt = '2022-03-25 14:36:59'; public $post_content = ''; public $post_title = 'Order – March 25, 2022 @ 04:36 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_gydsmBJXoJdo7'; public $post_name = 'pasutijums-mar-25-2022-0236-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-25 16:38:19'; public $post_modified_gmt = '2022-03-25 14:38:19'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234078'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }, $column_name = 'order_number', $primary = 'order_number') /home/example/web/example.lv/public_html/wp-admin/includes/class-wp-list-table.php:1451 [28-Mar-2022 13:29:36 UTC] PHP 9. apply_filters($hook_name = 'post_row_actions', $value = ['edit' => '<a href="https://www.example.lv/wp-admin/post.php?post=234078&action=edit" aria-label="Edit “Order – March 25, 2022 @ 04:36 PM”">Edit</a>', 'inline hide-if-no-js' => '<button type="button" class="button-link editinline" aria-label="Quick edit “Order – March 25, 2022 @ 04:36 PM” inline" aria-expanded="false">Quick Edit</button>', 'trash' => '<a href="https://www.example.lv/wp-admin/post.php?post=234078&action=trash&_wpnonce=f4fa87b7cc" class="submitdelete" aria-label="Move “Order – March 25, 2022 @ 04:36 PM” to the Trash">Trash</a>'], class WP_Post { public $ID = 234078; public $post_author = '1'; public $post_date = '2022-03-25 16:36:59'; public $post_date_gmt = '2022-03-25 14:36:59'; public $post_content = ''; public $post_title = 'Order – March 25, 2022 @ 04:36 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_gydsmBJXoJdo7'; public $post_name = 'pasutijums-mar-25-2022-0236-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-25 16:38:19'; public $post_modified_gmt = '2022-03-25 14:38:19'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234078'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }) /home/example/web/example.lv/public_html/wp-admin/includes/class-wp-posts-list-table.php:1536 [28-Mar-2022 13:29:36 UTC] PHP 10. WP_Hook->apply_filters($value = ['edit' => '<a href="https://www.example.lv/wp-admin/post.php?post=234078&action=edit" aria-label="Edit “Order – March 25, 2022 @ 04:36 PM”">Edit</a>', 'inline hide-if-no-js' => '<button type="button" class="button-link editinline" aria-label="Quick edit “Order – March 25, 2022 @ 04:36 PM” inline" aria-expanded="false">Quick Edit</button>', 'trash' => '<a href="https://www.example.lv/wp-admin/post.php?post=234078&action=trash&_wpnonce=f4fa87b7cc" class="submitdelete" aria-label="Move “Order – March 25, 2022 @ 04:36 PM” to the Trash">Trash</a>'], $args = [0 => ['edit' => '<a href="https://www.example.lv/wp-admin/post.php?post=234078&action=edit" aria-label="Edit “Order – March 25, 2022 @ 04:36 PM”">Edit</a>', 'inline hide-if-no-js' => '<button type="button" class="button-link editinline" aria-label="Quick edit “Order – March 25, 2022 @ 04:36 PM” inline" aria-expanded="false">Quick Edit</button>', 'trash' => '<a href="https://www.example.lv/wp-admin/post.php?post=234078&action=trash&_wpnonce=f4fa87b7cc" class="submitdelete" aria-label="Move “Order – March 25, 2022 @ 04:36 PM” to the Trash">Trash</a>'], 1 => class WP_Post { public $ID = 234078; public $post_author = '1'; public $post_date = '2022-03-25 16:36:59'; public $post_date_gmt = '2022-03-25 14:36:59'; public $post_content = ''; public $post_title = 'Order – March 25, 2022 @ 04:36 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_gydsmBJXoJdo7'; public $post_name = 'pasutijums-mar-25-2022-0236-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-25 16:38:19'; public $post_modified_gmt = '2022-03-25 14:38:19'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234078'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }]) /home/example/web/example.lv/public_html/wp-includes/plugin.php:189 [28-Mar-2022 13:29:36 UTC] PHP 11. WC_Admin_Duplicate_Product->dupe_link($actions = ['edit' => '<a href="https://www.example.lv/wp-admin/post.php?post=234078&action=edit" aria-label="Edit “Order – March 25, 2022 @ 04:36 PM”">Edit</a>', 'inline hide-if-no-js' => '<button type="button" class="button-link editinline" aria-label="Quick edit “Order – March 25, 2022 @ 04:36 PM” inline" aria-expanded="false">Quick Edit</button>', 'trash' => '<a href="https://www.example.lv/wp-admin/post.php?post=234078&action=trash&_wpnonce=f4fa87b7cc" class="submitdelete" aria-label="Move “Order – March 25, 2022 @ 04:36 PM” to the Trash">Trash</a>'], $post = class WP_Post { public $ID = 234078; public $post_author = '1'; public $post_date = '2022-03-25 16:36:59'; public $post_date_gmt = '2022-03-25 14:36:59'; public $post_content = ''; public $post_title = 'Order – March 25, 2022 @ 04:36 PM'; public $post_excerpt = ''; public $post_status = 'wc-processing'; public $comment_status = 'open'; public $ping_status = 'closed'; public $post_password = 'wc_order_gydsmBJXoJdo7'; public $post_name = 'pasutijums-mar-25-2022-0236-pm'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2022-03-25 16:38:19'; public $post_modified_gmt = '2022-03-25 14:38:19'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'https://www.example.lv/?post_type=shop_order&p=234078'; public $menu_order = 0; public $post_type = 'shop_order'; public $post_mime_type = ''; public $comment_count = '4'; public $filter = 'raw' }) /home/example/web/example.lv/public_html/wp-includes/class-wp-hook.php:307 [28-Mar-2022 13:29:36 UTC] PHP 12. current_user_can($capability = 'edit_product') /home/example/web/example.lv/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-duplicate-product.php:41 [28-Mar-2022 13:29:36 UTC] PHP 13. user_can($user = class WP_User { public $data = class stdClass { public $ID = '1'; public $user_login = 'randomname'; public $user_pass = '$P$BuiD/6JoXyAdkvQnEPlm2iyuW169Au/'; public $user_nicename = 'randomname'; public $user_email = '[email protected]'; public $user_url = 'https://example.lv'; public $user_registered = '2021-02-16 11:44:51'; public $user_activation_key = ''; public $user_status = '0'; public $display_name = 'randomname' }; public $ID = 1; public $caps = ['administrator' => TRUE, 'wpml_manage_translation_management' => TRUE, 'wpml_manage_languages' => TRUE, 'wpml_manage_theme_and_plugin_localization' => TRUE, 'wpml_manage_support' => TRUE, 'wpml_manage_woocommerce_multilingual' => TRUE, 'wpml_operate_woocommerce_multilingual' => TRUE, 'wpml_manage_media_translation' => TRUE, 'wpml_manage_navigation' => TRUE, 'wpml_manage_sticky_links' => TRUE, 'wpml_manage_string_translation' => TRUE, 'wpml_manage_translation_analytics' => TRUE, 'wpml_manage_wp_menus_sync' => TRUE, 'wpml_manage_taxonomy_translation' => TRUE, 'wpml_manage_troubleshooting' => TRUE, 'wpml_manage_translation_options' => TRUE, 'manage_translations' => TRUE, 'translate' => TRUE]; public $cap_key = 'ss_capabilities'; public $roles = [0 => 'administrator']; public $allcaps = ['switch_themes' => TRUE, 'edit_themes' => TRUE, 'activate_plugins' => TRUE, 'edit_plugins' => TRUE, 'edit_users' => TRUE, 'edit_files' => TRUE, 'manage_options' => TRUE, 'moderate_comments' => TRUE, 'manage_categories' => TRUE, 'manage_links' => TRUE, 'upload_files' => TRUE, 'import' => TRUE, 'unfiltered_html' => TRUE, 'edit_posts' => TRUE, 'edit_others_posts' => TRUE, 'edit_published_posts' => TRUE, 'publish_posts' => TRUE, 'edit_pages' => TRUE, 'read' => TRUE, 'level_10' => TRUE, 'level_9' => TRUE, 'level_8' => TRUE, 'level_7' => TRUE, 'level_6' => TRUE, 'level_5' => TRUE, 'level_4' => TRUE, 'level_3' => TRUE, 'level_2' => TRUE, 'level_1' => TRUE, 'level_0' => TRUE, 'edit_others_pages' => TRUE, 'edit_published_pages' => TRUE, 'publish_pages' => TRUE, 'delete_pages' => TRUE, 'delete_others_pages' => TRUE, 'delete_published_pages' => TRUE, 'delete_posts' => TRUE, 'delete_others_posts' => TRUE, 'delete_published_posts' => TRUE, 'delete_private_posts' => TRUE, 'edit_private_posts' => TRUE, 'read_private_posts' => TRUE, 'delete_private_pages' => TRUE, 'edit_private_pages' => TRUE, 'read_private_pages' => TRUE, 'delete_users' => TRUE, 'create_users' => TRUE, 'unfiltered_upload' => TRUE, 'edit_dashboard' => TRUE, 'update_plugins' => TRUE, 'delete_plugins' => TRUE, 'install_plugins' => TRUE, 'update_themes' => TRUE, 'install_themes' => TRUE, 'update_core' => TRUE, 'list_users' => TRUE, 'remove_users' => TRUE, 'promote_users' => TRUE, 'edit_theme_options' => TRUE, 'delete_themes' => TRUE, 'export' => TRUE, 'wpml_manage_translation_management' => TRUE, 'wpml_manage_languages' => TRUE, 'wpml_manage_theme_and_plugin_localization' => TRUE, 'wpml_manage_support' => TRUE, 'wpml_manage_woocommerce_multilingual' => TRUE, 'wpml_operate_woocommerce_multilingual' => TRUE, 'wpml_manage_media_translation' => TRUE, 'wpml_manage_navigation' => TRUE, 'wpml_manage_sticky_links' => TRUE, 'wpml_manage_string_translation' => TRUE, 'wpml_manage_translation_analytics' => TRUE, 'wpml_manage_wp_menus_sync' => TRUE, 'wpml_manage_taxonomy_translation' => TRUE, 'wpml_manage_troubleshooting' => TRUE, 'wpml_manage_translation_options' => TRUE, 'manage_woocommerce' => TRUE, 'view_woocommerce_reports' => TRUE, 'edit_product' => TRUE, 'read_product' => TRUE, 'delete_product' => TRUE, 'edit_products' => TRUE, 'edit_others_products' => TRUE, 'publish_products' => TRUE, 'read_private_products' => TRUE, 'delete_products' => TRUE, 'delete_private_products' => TRUE, 'delete_published_products' => TRUE, 'delete_others_products' => TRUE, 'edit_private_products' => TRUE, 'edit_published_products' => TRUE, 'manage_product_terms' => TRUE, 'edit_product_terms' => TRUE, 'delete_product_terms' => TRUE, 'assign_product_terms' => TRUE, 'edit_shop_order' => TRUE, 'read_shop_order' => TRUE, 'delete_shop_order' => TRUE, 'edit_shop_orders' => TRUE, 'edit_others_shop_orders' => TRUE, 'publish_shop_orders' => TRUE, 'read_private_shop_orders' => TRUE, 'delete_shop_orders' => TRUE, 'delete_private_shop_orders' => TRUE, 'delete_published_shop_orders' => TRUE, 'delete_others_shop_orders' => TRUE, 'edit_private_shop_orders' => TRUE, 'edit_published_shop_orders' => TRUE, 'manage_shop_order_terms' => TRUE, 'edit_shop_order_terms' => TRUE, 'delete_shop_order_terms' => TRUE, 'assign_shop_order_terms' => TRUE, 'edit_shop_coupon' => TRUE, 'read_shop_coupon' => TRUE, 'delete_shop_coupon' => TRUE, 'edit_shop_coupons' => TRUE, 'edit_others_shop_coupons' => TRUE, 'publish_shop_coupons' => TRUE, 'read_private_shop_coupons' => TRUE, 'delete_shop_coupons' => TRUE, 'delete_private_shop_coupons' => TRUE, 'delete_published_shop_coupons' => TRUE, 'delete_others_shop_coupons' => TRUE, 'edit_private_shop_coupons' => TRUE, 'edit_published_shop_coupons' => TRUE, 'manage_shop_coupon_terms' => TRUE, 'edit_shop_coupon_terms' => TRUE, 'delete_shop_coupon_terms' => TRUE, ...]; public $filter = NULL; private $site_id = 1 }, $capability = 'edit_product') /home/example/web/example.lv/public_html/wp-includes/capabilities.php:693 [28-Mar-2022 13:29:36 UTC] PHP 14. WP_User->has_cap($cap = 'edit_product') /home/example/web/example.lv/public_html/wp-includes/capabilities.php:801 [28-Mar-2022 13:29:36 UTC] PHP 15. map_meta_cap($cap = 'edit_product', $user_id = 1) /home/example/web/example.lv/public_html/wp-includes/class-wp-user.php:756 [28-Mar-2022 13:29:36 UTC] PHP 16. map_meta_cap($cap = 'edit_post', $user_id = 1) /home/example/web/example.lv/public_html/wp-includes/capabilities.php:622
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘capabalities.php error on line 149’ is closed to new replies.