• Resolved ernest_d

    (@sfedona)


    Hello !

    When I updated from 2.11.0 to 3.x version this plugin broke my website,

    mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/cf7-grid-layout/admin/class-cf7-grid-layout-admin.php:1164
    mod_fcgid: stderr: Stack trace:
    mod_fcgid: stderr: #0 /wp-includes/class-wp-hook.php(284): Cf7_Grid_Layout_Admin->enable_cf7_editor_role()
    mod_fcgid: stderr: #1 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    mod_fcgid: stderr: #2 /wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    mod_fcgid: stderr: #3 /wp-admin/admin.php(169): do_action(‘admin_init’)
    mod_fcgid: stderr: #4 /wp-admin/index.php(10): require_once(‘/home/admin/web…’)
    mod_fcgid: stderr: #5 {main}

    Putting back to old version , and works again.
    PHP 7.3.9 (cli)

    • This topic was modified 5 years, 3 months ago by ernest_d.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    have you deleted the ‘editor’ role?

    anyhow, this is fixed in v3.0.3.

    Thread Starter ernest_d

    (@sfedona)

    Hi !
    Yes, I deleted Editor with Premmerce User Roles plugin as I will never need this role on Woocommerce based e-shop.
    And thanks for fixing, it is working now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Update to 3.x broke website’ is closed to new replies.