Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on admin list page for a new pod #5372

Closed
RobEarls opened this issue May 8, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@RobEarls
Copy link

commented May 8, 2019

Issue Overview

I'm getting an error shown on the admin list page for a specific pod I created, "wine_prices"
Notice: Undefined property: stdClass::$delete_posts in /home/...../public_html/wp-admin/includes/class-wp-posts-list-table.php on line 411
I'm not sure if this happened after I upgraded Wordpress to 5.2 (earlier this morning) or if it's something I have done. I have not done any custom coding for this, but given it's for a specific pod, and others seem OK, I think it's more likely a pods issue.

Expected Behavior

No error

Current Behavior

On myfakedev.com/wp-admin/edit.php?post_type=wine_price
Notice: Undefined property: stdClass::$delete_posts in /home/...../public_html/wp-admin/includes/class-wp-posts-list-table.php on line 411

Steps to Reproduce (for bugs)

(Not unambiguous, sorry)

  1. Add pod wines
  2. Add pod wine_prices
  3. Import wine from CSV file using WP All Import & CIO Custom Fields Importer Pro
  4. Import wine prices from CSV file.
  5. Update POD and repeat 4 many times trying to get a perfect import.
  6. Upgrade to WP 5.2.
  7. Update POD and repeat 4 many times trying to get a perfect import.
  8. Notice error on ....myfakedev.com/wp-admin/edit.php?post_type=wine_price

Possible Solution

WordPress Environment

``` WordPress Version: 5.2

PHP Version: 7.0.33

MySQL Version: 5.6.39

Server Software: Apache/2.4.39 (cPanel) OpenSSL/1.0.2r mod_bwlimited/1.4

Your User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36

Session Save Path: /var/cpanel/php/sessions/ea-php70

Session Save Path Exists: No

Session Save Path Writeable: No

Session Max Lifetime: 1440

Opcode Cache:

Apc: No
Memcached: No
OPcache: Yes
Redis: No
Object Cache:

APC: No
APCu: No
Memcache: No
Memcached: No
Redis: No
WPDB Prefix: wp_

WP Multisite Mode: No

WP Memory Limit: 40M

Current Memory Usage: 15.677M

Current Memory Usage (real): 14.000M

Pods Network-Wide Activated: No

Pods Install Location: /home/..../public_html/wp-content/plugins/pods/

Pods Tableless Mode Activated: No

Pods Light Mode Activated: No

Currently Active Theme: Twenty Nineteen

Currently Active Plugins:

CIO Custom Fields Importer Pro: 1.01
Pods - Custom Content Types and Fields: 2.7.12
WP All Import: 3.5.0

</details>

## Pods Package Export (helpful!)
<!-- Please include the Pods Package Export as it will be helpful in reproducing your issues. -->
<!-- To access: Pods Admin, Components, Migrate: Packages, Enable. -->
<!-- Then Pods Admin, Migrate: Packages, Export and Copy and Paste the JSON here OR -->
<!-- Save to a text file and upload to this bug report -->

{"meta":{"version":"2.7.12","build":1557319027},"pods":{"11349":{"id":11349,"name":"wine_price","label":"Wine Prices","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"brand_name":{"id":11356,"name":"brand_name","label":"Brand Name","description":"","help":"","class":"","type":"pick","weight":0,"pick_object":"post_type","pick_val":"wine","sister_id":"","required":"0","pick_format_type":"single","pick_format_single":"dropdown","pick_format_multi":"checkbox","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"size":{"id":11350,"name":"size","label":"Size","description":"","help":"","class":"","type":"text","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"1","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""},"premium_1":{"id":11351,"name":"premium_1","label":"Premium 1","description":"","help":"","class":"","type":"currency","weight":2,"pick_object":"","pick_val":"","sister_id":"","required":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","currency_repeatable":"0","currency_placeholder":""},"premium_2":{"id":11553,"name":"premium_2","label":"Premium 2","description":"","help":"","class":"","type":"currency","weight":3,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","currency_repeatable":"0","currency_placeholder":""},"premium_3":{"id":11554,"name":"premium_3","label":"Premium 3","description":"","help":"","class":"","type":"currency","weight":4,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","currency_repeatable":"0","currency_placeholder":""},"premium_4":{"id":11555,"name":"premium_4","label":"Premium 4","description":"","help":"","class":"","type":"currency","weight":5,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","currency_repeatable":"0","currency_placeholder":""},"mainstream_1":{"id":11556,"name":"mainstream_1","label":"Mainstream 1","description":"","help":"","class":"","type":"currency","weight":6,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","currency_repeatable":"0","currency_placeholder":""},"mainstream_2":{"id":11557,"name":"mainstream_2","label":"Mainstream 2","description":"","help":"","class":"","type":"currency","weight":7,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","currency_repeatable":"0","currency_placeholder":""},"mainstream_3":{"id":11558,"name":"mainstream_3","label":"Mainstream 3","description":"","help":"","class":"","type":"currency","weight":8,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","currency_repeatable":"0","currency_placeholder":""},"mainstream_4":{"id":11559,"name":"mainstream_4","label":"Mainstream 4","description":"","help":"","class":"","type":"currency","weight":9,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","currency_repeatable":"0","currency_placeholder":""},"community_1":{"id":11560,"name":"community_1","label":"Community 1","description":"","help":"","class":"","type":"currency","weight":10,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","currency_repeatable":"0","currency_placeholder":""},"community_2":{"id":11561,"name":"community_2","label":"Community 2","description":"","help":"","class":"","type":"currency","weight":11,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","currency_repeatable":"0","currency_placeholder":""},"community_3":{"id":11562,"name":"community_3","label":"Community 3","description":"","help":"","class":"","type":"currency","weight":12,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","currency_repeatable":"0","currency_placeholder":""},"community_4":{"id":11563,"name":"community_4","label":"Community 4","description":"","help":"","class":"","type":"currency","weight":13,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","currency_repeatable":"0","currency_placeholder":""},"value_1":{"id":11564,"name":"value_1","label":"Value 1","description":"","help":"","class":"","type":"currency","weight":14,"pick_object":"","pick_val":"","sister_id":"","required":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","currency_repeatable":"0","currency_placeholder":""},"value_2":{"id":11565,"name":"value_2","label":"Value 2","description":"","help":"","class":"","type":"currency","weight":15,"pick_object":"","pick_val":"","sister_id":"","required":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","currency_repeatable":"0","currency_placeholder":""},"value_3":{"id":11566,"name":"value_3","label":"Value 3","description":"","help":"","class":"","type":"currency","weight":16,"pick_object":"","pick_val":"","sister_id":"","required":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","currency_repeatable":"0","currency_placeholder":""},"value_4":{"id":11567,"name":"value_4","label":"Value 4","description":"","help":"","class":"","type":"currency","weight":17,"pick_object":"","pick_val":"","sister_id":"","required":"0","currency_format_type":"number","currency_format_sign":"gbp","currency_format_placement":"before","currency_format":"i18n","currency_decimals":"2","currency_decimal_handling":"none","currency_step":"1","currency_min":"0","currency_max":"1000","currency_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","currency_repeatable":"0","currency_placeholder":""}},"show_in_menu":"1","label_singular":"Wine Price","public":"0","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"0","exclude_from_search":"0","capability_type":"post","capability_type_custom":"wine_price","capability_type_extra":"0","has_archive":"0","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"publish","supports_author":"0","supports_thumbnail":"0","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_category":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0"},"11344":{"id":11344,"name":"wine","label":"Wines","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"sku":{"id":11360,"name":"sku","label":"SKU","description":"","help":"","class":"","type":"text","weight":0,"pick_object":"","pick_val":"","sister_id":"","required":"1","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""},"grape":{"id":11348,"name":"grape","label":"Grape","description":"","help":"","class":"","type":"pick","weight":1,"pick_object":"post_type","pick_val":"grape","sister_id":"","required":"1","pick_format_type":"single","pick_format_single":"dropdown","pick_format_multi":"checkbox","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"prices":{"id":11573,"name":"prices","label":"Prices","description":"","help":"","class":"","type":"pick","weight":2,"pick_object":"post_type","pick_val":"wine_price","sister_id":"","required":"0","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"checkbox","pick_allow_add_new":"0","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_where":"t.post_title = brand_name.meta_value","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_orderby":"","pick_groupby":""}},"show_in_menu":"1","label_singular":"Wine","public":"0","show_ui":"1","supports_title":"1","supports_editor":"0","publicly_queryable":"0","exclude_from_search":"0","capability_type":"post","capability_type_custom":"wine","capability_type_extra":"1","has_archive":"0","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"0","supports_thumbnail":"0","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_category":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0","label_parent":"P","label_parent_item_colon":"PW"}}}


## Workaround or Alternate Solution Until Bug is Addressed
<!-- We will complete this section, or if you've already found a workaround, -->
<!-- you can add it here -->

## Related Issues and/or PRs
<!-- List related issues or PRs against other branches:  -->
@issue-label-bot

This comment has been minimized.

Copy link

commented May 8, 2019

Issue-Label Bot is automatically applying the label Type: Bug to this issue, with a confidence of 0.96. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the Type: Bug label May 8, 2019

@JoryHogeveen

This comment has been minimized.

Copy link
Member

commented Jun 5, 2019

EDIT: Sorry, I misread the issue, I could reproduce it and get back to you asap.

@JoryHogeveen

This comment has been minimized.

Copy link
Member

commented Jun 5, 2019

This is a WordPress bug: https://core.trac.wordpress.org/ticket/30991 and is active on the roadmap to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.