• Resolved dhregular

    (@dhregular)


    Can’t edit pods: Undefined array key “field_count” in PodsAdmin.php on line 1555

    As said above in the error message, there is an undefined array key “field_count” and since this error started showing, the edit screen for all pods is blank. All that shows is the dashboard menu and a button to save the pod.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter dhregular

    (@dhregular)

    I already found a workaround once I realized something.

    I am NOT using this plugin for custom fields; however, when I click the option to disable custom fields, the error is thrown and I cannot create or edit pods. But that means I need to enable custom fields to be able to use the plugin.

    Is there a missing conditional statement within the plugin?

    • This reply was modified 3 years ago by dhregular.
    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @dhregular

    Do you still have this issue on the latest version?

    Cheers, Jory

    Thread Starter dhregular

    (@dhregular)

    Hi @keraweb

    Yes I am still experiencing this issue with the latest version. I have also deactivated every plugin and switched to the base 2021 theme with the pods plugin updates to the latest version.

    If I have the setting “Disable creating custom fields with Pods (for when using Pods only for content types)” checked, then when I navigate to “edit pods” and click on any of the pods already created, then a fatal error happens.

    I even just tested it out trying to make a new pod with the setting enabled, and once I finish putting in the singular and plural labels, when I click “Next Step” a fatal error happens.

    I have WP_DEBUG set as true, but it does not tell me what is throwing the error. I will just leave the setting unchecked.

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    I can confirm the types-only feature has become broken recently. I’ll look into this and see what it’ll take to get that resolved for the next release.

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    I have a fix for this in Pods 2.9.16 which should be out this week.

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    This was released this past weekend.

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

The topic ‘Edit Pod Page Blank’ is closed to new replies.