Add new Snippet loads blank page
-
Hey,
When I got to Code Snippets > Add new, it just loads a blank page in the wp-admin section. You can see the page for a micro split second before the blank page loads up.
I’ve used this plugin plenty of times before without any problems.
I also got this email shortly after installing the plugin:
G'day! Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. In this case, WordPress caught an error with one of your plugins, Code Snippets. First, visit your website (https://pppmeals.com.au/) and check for any visible issues. Next, visit the page where the error was caught (https://pppmeals.com.au/wp-admin/admin.php?page=snippets-settings) and check for any visible issues. Please contact your host for assistance with investigating this issue further. If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further. https://pppmeals.com.au/wp-login.php?action=enter_recovery_mode&rm_token=n9o96Ko8FemV5TI8lhfdRZ&rm_key=f66UpfkbXGQSMZknRy4yk2 To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires. When seeking help with this issue, you may be asked for some of the following information: WordPress version 6.2.2 Active theme: Kadence (version 1.1.40) Current plugin: Code Snippets (version 3.4.0) PHP version 8.0.29 Error Details ============= An error of type E_ERROR was caused in line 129 of the file /srv/htdocs/wp-content/plugins/code-snippets/php/settings/class-setting-field.php. Error message: Uncaught TypeError: Code_Snippets\Settings\Setting_Field::render_checkbox(): Argument #3 ($checked) must be of type bool, null given, called in /srv/htdocs/wp-content/plugins/code-snippets/php/settings/class-setting-field.php on line 164 and defined in /srv/htdocs/wp-content/plugins/code-snippets/php/settings/class-setting-field.php:129 Stack trace: #0 /srv/htdocs/wp-content/plugins/code-snippets/php/settings/class-setting-field.php(164): Code_Snippets\Settings\Setting_Field::render_checkbox('code_snippets_s...', 'Allow folding f...', NULL) #1 [internal function]: Code_Snippets\Settings\Setting_Field->render_checkbox_field() #2 /srv/htdocs/wp-content/plugins/code-snippets/php/settings/class-setting-field.php(103): call_user_func(Array) #3 /wordpress/core/6.2.2/wp-admin/includes/template.php(1826): Code_Snippets\Settings\Setting_Field->render(Array) #4 /srv/htdocs/wp-content/plugins/code-snippets/php/admin-menus/class-settings-menu.php(206): do_settings_fields('code-snippets', 'editor') #5 /srv/htdocs/wp-content/plugins/code-snippets/php/admin-menus/class-settings-menu.php(154): Code_Snippets\Settings_Menu->do_settings_tabs() #6 /wordpress/core/6.2.2/wp-includes/class-wp-hook.php(308): Code_Snippets\Settings_Menu->render('') #7 /wordpress/core/6.2.2/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #8 /wordpress/core/6.2.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /wordpress/core/6.2.2/wp-admin/admin.php(259): do_action('snippets_page_s...') #10 {main} ? thrown
Any help would be greatly appreciated.
Kind regards,
Matt EdwardsThe page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add new Snippet loads blank page’ is closed to new replies.