• Resolved grandechefe

    (@grandechefe)


    Hi

    After i update the pluginn to 2.2.6.1 the access to admin page stopped working, getting a blank page. in the error log I get this information:

    PHP Fatal error: Uncaught Error: Call to undefined method CMB2_JS::register_colorpicker_alpha() in /home/hocnet2/public_html/wp-content/plugins/cmb2/includes/types/CMB2_Type_Colorpicker.php:72
    Stack trace:
    #0 /home/hocnet2/public_html/wp-includes/class-wp-hook.php(286): CMB2_Type_Colorpicker::dequeue_rgba_colorpicker_script(‘index.php’)
    #1 /home/hocnet2/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /home/hocnet2/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /home/hocnet2/public_html/wp-admin/admin-header.php(97): do_action(‘admin_enqueue_s…’, ‘index.php’)
    #4 /home/hocnet2/public_html/wp-admin/index.php(100): include(‘/home/hocnet2/p…’)
    #5 {main}
    thrown in /home/hocnet2/public_html/wp-content/plugins/cmb2/includes/types/CMB2_Type_Colorpicker.php on line 72

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Justin Sternberg

    (@jtsternberg)

    Wow, this sounds like a possible corrupted update. Can you try downloading the plugin zip file from here and replace the existing folder on your server?

    digitalfractal

    (@digitalfractal)

    Hi

    I followed the suggestion and i still get the white screen of death, i renamed the cmb2 folder that was automatically uploaded. site worked, then i uploaded the file i downloaded here and i still got the same issue.

    Please help!

    Thanks

    Plugin Author Justin Sternberg

    (@jtsternberg)

    Can you both please report back on what plugins and theme you have active on your site?

    digitalfractal

    (@digitalfractal)

    i have sandyland theme
    plugins i have: Contact Form 7
    Disable Comments, Google XML Sitemaps, Redux Framework, SandyLand Core, WordPress Importer, WP Clone by WP Academy

    Plugin Author Justin Sternberg

    (@jtsternberg)

    @digitalfractal what error are you seeing in your error log?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @grandechefe can you try 2.2.6.2 and see if it’s still showing up for you? Also if you could provide your CMB2 configuration code, that’d help as well as it could be related to that.

    CMB2 is included within the U-Design theme – And the same thing is happening here. If I remove it, WP editor works. Put it back, and WP editor no longer works. Text in edit area will be white text on white background; unable to switch between visual or text editor, unable to click on WP screen options when on a post (or page) edit screen. I suspect (very much) some conflict. If I remove all other plugins, the issue is the same. Only when I specifically remove CMB2, does the issue stop.

    I hope the above input narrows down the focus more for developers? I hope it helps.

    • This reply was modified 6 years, 12 months ago by NOT-IN-USE-DELETE. Reason: Spelling
    Plugin Author Justin Sternberg

    (@jtsternberg)

    @rogerwheatley it sounds like you are having a different issue? By WP Editor not working, do you mean a white screen, or something on the page? If the latter, can you check your javascript console for errors? If the former, can you check the contents of your error log at the time the error occurs?

    I do not have the U-Design theme, so I am not able to confirm if they are properly including CMB2, or verify/test the scenario.

    Thanks Justin Sternberg – Yes, the complete edit area of the windows is all white. Removing CMB2 stops this. Also, I observed that setting the “Disable the visual editor when writing” also fixes the issue (while CMB2 is still active).
    Javascript console shows to errors (which surprised me, commonly when such things happen something often shows up). Site error logs also show nothing in this regard. Permissions are okay. No changes were made to theme or CMB2 – It simply “stopped”.
    I appreciate the concern regarding U-Design (it was working for years) theme inclusion, as I also don’t know if they properly included it, however I’m just providing some observations in the hope that in some small way they might help, or narrow down possible CMB2 things to explore. Hope it helps out, at least a little. ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Plugin error’ is closed to new replies.