Incompatibility with VisualComposer

Support MB Custom Table Incompatibility with VisualComposerResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36220
    GlenGlen
    Participant

    I'm getting this notice at the top of custom table edit pages.

    Notice: Trying to get property 'ID' of non-object in /home/user/public_html/wp-content/plugins/visualcomposer/visualcomposer/Modules/Editors/FrontendLayoutSwitcher/BundleController.php on line 38

    The code in the visualcomposer

    if ($userCapabilitiesHelper->canEdit($post->ID)) {

    So obviously $post is null, not sure why this code is being called on this page though. Disabling the visualcomposer plugin isn't an option as the designer still wants to use it.

    Any ideas what I can do?

    #36221
    GlenGlen
    Participant

    Ok so this only appears when WP_DEBUG is on, so at least I have a workaround for now.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.