• Resolved theglobe001

    (@theglobe001)


    Today I updated the plugin and I can’t access the Snippets or the Customize section of my website. This is the error I am getting: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /wp-content/plugins/code-snippets/php/class-data-item.php:207. Stack trace:
    – wp-content/plugins/code-snippets/php/class-data-item.php(207): array_key_exists(‘scope’, NULL)
    – wp-content/plugins/code-snippets/php/class-data-item.php(141): Code_Snippets\Data_Item->is_allowed_field(‘scope’)
    – wp-content/plugins/code-snippets/php/front-end/mce-strings.php(39): Code_Snippets\Data_Item->__get(‘scope’)
    WordPress version: 5.9.3 and PHP 8

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array)’ is closed to new replies.