Okay
  Public Ticket #2528753
Issue with WPBakery Page Builder plugin
Closed

Comments

  •  2
    Solarside started the conversation

    Hello,

    I'm running latest Kalium 3.0.6 on Wordpress 5.5.1 (multisite mode) with WooCommerce 4.4.1 and have a massive issue after latest WPBakery Page Builder plugin update: it doesn't work and I can't edit any page/product.

    WordPress is showing Fatal Error, please see log below. When plugin is deactivated everything seems to work fine.

    This issue appears only when I logged in with my super admin account, and all is fine when logged in with another admin account added manually.

    Could you kindly help to fix this problem?

    Error Log:

    Fatal error: Uncaught Error: Call to a member function has_cap() on null in wp-content/plugins/js_composer/include/autoload/vc-pages/page-role-manager.php on line 61

    Стек вызовов:

    1. wpb_unfiltered_html_state() wp-includes/class-wp-hook.php:287
    2. WP_Hook::apply_filters() wp-includes/plugin.php:206
    3. apply_filters() wp-content/plugins/js_composer/include/classes/core/access/class-vc-role-access-controller.php:66
    4. Vc_Role_Access_Controller::getState() wp-content/plugins/js_composer/include/classes/core/access/class-vc-role-access-controller.php:241
    5. Vc_Role_Access_Controller::checkState() wp-content/plugins/js_composer/include/classes/core/access/abstract-class-vc-access.php:56
    6. Vc_Access::checkMulti() wp-content/plugins/js_composer/include/classes/core/access/class-vc-role-access-controller.php:253
    7. Vc_Role_Access_Controller::checkStateAny() wp-content/plugins/js_composer/include/helpers/helpers.php:1419
    8. wpb_remove_custom_html() wp-includes/class-wp-hook.php:287
    9. WP_Hook::apply_filters() wp-includes/plugin.php:206
    10. apply_filters() wp-includes/post.php:2467
    11. sanitize_post_field() wp-includes/post.php:2352
    12. sanitize_post() wp-includes/post.php:3647
    13. wp_insert_post() wp-admin/includes/post.php:687
    14. get_default_post_to_edit() wp-admin/includes/dashboard.php:519


    {"wp":{"use":false,"adminUrl":"","username":"","password":""},"ftp":{"use":false,"url":"","port":"","user":"","password":"","path":""}}
  • [deleted] replied

    Hi Solarside,

    Can you please share your Wordpress credentials, because I need to login to your site and test this live.

    To include your credentials click Insert Credentials button in editor toolbar (see how) so your reply will be private.

    Thanks!

  •   Solarside replied privately
  • [deleted] replied

    Hi Solarside,

    I can see that a lot of error are coming from Wordpress files itself, so please disable all your third-party plugins (plugins that don't come with our theme) one by one, and check if this problem is solved.

    And then, re-update Wordpress again because I think that some of its files are corrupted.

    If you have the same problem again, then please downgrade PHP to version 7.3 or 7.4.2.

    I think that the things that I wrote will fix your problem... if not, then please contact your hosting provider so they can check this for you.

  •  2
    Solarside replied

    Hi Ylli,

    Thanks for your comment and suggestions, will do and let know then.

  • [deleted] replied

    Happy to hear thatsmile.png

    Have a nice day!

  •  2
    Solarside replied

    Hi Ylli,

    Unfortunately, I did all the things you suggested and problem is still here.

    When WPBakery Page Builder is deactivated, no issues and wordpress warnings.

    As I already mentioned, this issue appears only with my super-admin account, and everything works fine if I logged in with another admin account. I can provide you with the site credentials for this account and you can check as well.

  • [deleted] replied

    Hi Solarside,

    I checked this problem for about 1 hour and I can't find why this problem is happening, clearly this is coming from WPBakery Page Builder but I don't know why. Maybe they don't support PHP 7.4.9 yet can you please decrease your PHP version to 7.3 as I wrote on my last reply and also increase those two limits, (time limit and upload size).

    medium
    (view on a new page)

    Thanks!

  •  2
    Solarside replied

    Hi Ylli,

    Thanks for coming back to me on this.

    All settings now are as recommended, but no luck...


  • [deleted] replied

    Hi Solarsidem

    I will assign this ticket to our main developer (Arlind) so he can check this problem once more for you and see if that comes from our theme or what is the problem.

    In the meantime, please send us your FTP credentials too because maybe he needs to dig deeper on this.

    Thanks!

  •   Solarside replied privately
  • [deleted] replied

    Hi Solarside,

    I can see that WPBakery Page Builder fixed this interesting but and it might be related to your problem.

    medium
    (view on a new page)

    Please update and see if that fixes your problem (Appearance > Install Plugins area).

    [EDIT] I just updated the plugin for you (see video).

    Thanks!

  •  2
    Solarside replied

    Hey Ylli,

    Many thanks for your assistance, everything works fine now!

  • [deleted] replied

    I'm very happy to hear that this annoying problem is now fixed for yousmile.png

    Have a great day!