• Resolved siehdiewelt

    (@siehdiewelt)


    Hi,

    it seems I added a bad snippet, the site works fine, but when I want to enter the “manage” area in Code Snippets, it gives me the white screen. I already tried define(‘CODE_SNIPPETS_SAFE_MODE’, true in several browsers – but no success. It still gives me the blank screen instead of the manage section. So I can’t delete the bad snippet.

    How do I get rid of it?

    Thanks
    Markus

    https://www.ads-software.com/plugins/code-snippets/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Markus,

    There is some defects in a file: /plugins/code-snippetqs/php/class-list-table.php

    Some functions of derived classe Code_Snippets_List_Table are marked as protected whether it should be public as in base class. Thoses functions modifiers should be changed from protected to public:

    • get_views
    • get_bulk_actions
    • get_sortable_columns
    • get_table_classes
    • extra_tablenav

    For example, use this code:

    public function extra_tablenav( $which ) {

    instead of:

    protected function extra_tablenav( $which ) {

    Thread Starter siehdiewelt

    (@siehdiewelt)

    Hi Gregory,

    thank you, that worked!

    Best
    Markus

    Plugin Author Shea Bunge

    (@bungeshea)

    It looks like this was a recent change in WordPress. I’ll update this class in the plugin. Thanks for figuring out the issue Grégory!

    your welcome, great work on this plugin btw, thank you.

    Plugin Author Shea Bunge

    (@bungeshea)

    This has been updated in version 2.5.0.

    Thank you Shea!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘can't access the manage area’ is closed to new replies.