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?