• I am getting plugin error in wordpress and my website is crashing. Here are the error details:

    PHP Warning:
    foreach() argument must be of type array|object, null given in
    /nas/content/live/alepo/wp-includes/class-wp-post-type.php on line 779
    Time: Wed, Apr 15, 2026, 09:57 AM GMT+5:30

    PHP Warning:
    Undefined array key "taxonomies" in
    /nas/content/live/alepo/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php on line 528
    Time: Wed, Apr 15, 2026, 09:57 AM GMT+5:30

    Let me know what steps to take to fix it

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter marketingalepo

    (@marketingalepo)

    Looking for prompt solution

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hi,

    How many post types are you presently registering? Looks like somehow the array key that’s meant to store either an empty array or specified taxonomies is ending up null somehow.

    Curious if going through the post types and just re-saving them without edits, or toggling a taxonomy+save+plus untoggle+resave would get this cleared up in the immediate future. Part of why I asked initially about how many post types you’re registering, to see if it’d be a daunting task or just a momentary one.

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

You must be logged in to reply to this topic.