• Resolved edshare

    (@edshare)


    In the code block with the comment // Clean up and sanitize all of the labels since WP will take them exactly as is. there should be a validation if a label is an array

    Fatal error: Uncaught TypeError: htmlspecialchars_decode(): Argument #1 ($string) must be of type string, array given in /var/app/current/wp-content/plugins/pods/classes/PodsInit.php:2330
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @edshare

    This looks like it’s an installation issue since it shouldn’t not be an array. This is an array loop and it should only contain string values.

    Can you provide more info on the exact label this occurs?

    Cheers, Jory

    Thread Starter edshare

    (@edshare)

    Yes, you are correct. After running the tool to fix fields I removed It seems the error is no longer present. This is probably related to us upgrading from an way older version of Pods to the latest one.

    Plugin Author Jory Hogeveen

    (@keraweb)

    Check, thank you for confirming!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught TypeError on PodsInit.php (PHP 8.1)’ is closed to new replies.