• Resolved wpcheetah

    (@wpcheetah)


    Using PHP 8.0 and Snippets 3.6.1

    Fatal error: Uncaught Error: Code_Snippets\Settings\Setting_Field::render_checkbox(): Argument #3 ($checked) must be of type bool, null given, called in …/wp-content/plugins/code-snippets/php/settings/class-setting-field.php on line 163
    in?…/wp-content/plugins/code-snippets/php/settings/class-setting-field.php?on line?129

    Call stack:

    1. Code_Snippets\Settings\Setting_Field::render_checkbox()
      wp-content/plugins/code-snippets/php/settings/class-setting-field.php:163
    2. Code_Snippets\Settings\Setting_Field::render_checkbox_field()
    3. call_user_func()
      wp-content/plugins/code-snippets/php/settings/class-setting-field.php:103
    4. Code_Snippets\Settings\Setting_Field::render()
      wp-admin/includes/template.php:1824
    5. do_settings_fields()
      wp-content/plugins/code-snippets/php/admin-menus/class-settings-menu.php:194
    6. Code_Snippets\Settings_Menu::do_settings_tabs()
      wp-content/plugins/code-snippets/php/admin-menus/class-settings-menu.php:137
    7. Code_Snippets\Settings_Menu::render()
      wp-includes/class-wp-hook.php:310
    8. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:334
    9. WP_Hook::do_action()
      wp-includes/plugin.php:517
    10. do_action()
      wp-admin/admin.php:259
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal error’ is closed to new replies.