Ok I had to rollback to version 3.5
3.6.1 gave me a fatal error.
Got error ‘PHP message: PHP Warning: Undefined array key “hide_upgrade_menu” in /data/sites/web/mysite/www/wp-content/plugins/code-snippets/php/settings/settings.php on line 109PHP message: PHP Warning: Undefined array key “hide_upgrade_menu” in /data/sites/web/mysite/www/wp-content/plugins/code-snippets/php/settings/settings.php on line 109PHP message: PHP Fatal error: Uncaught TypeError: Code_Snippets\Settings\Setting_Field::render_checkbox(): Argument #3 ($checked) must be of type bool, null given, called in /data/sites/web/mysite/www/wp-content/plugins/code-snippets/php/settings/class-setting-field.php on line 163 and defined in /data/sites/web/mysite/www/wp-content/plugins/code-snippets/php/settings/class-setting-field.php:129\nStack trace:\n#0 /data/sites/web/mysite/www/wp-content/plugins/code-snippets/php/settings/class-setting-field.php(163): Code_Snippets\Settings\Setting_Field::render_checkbox(‘code_snippets_s…’, ‘Verberg de upgr…’, NULL)\n#1 [internal function]: Code_Snippets\Settings\Setting_Field->render_checkbox_field()\n#2 /data/sites/web/mysite/www/wp-content/plugins/code-snippets/php/settings/class-setting-field.php(103): call_user_func(Array)\n#3 /data/sites/web/mysite/www/wp-admin/includes/template.php(1824): Code_Snippets\Settings\Setting_Field->render(Array)\n#4 /data/sites/web/mysite/w…’
EDIT: the rollback fixed the issue
-
This reply was modified 1 year ago by dyin.