Both vc-accordion.php (js composer folder) and accordion.php (semona extension folder) exist.
The line in accordion.php that the warning is about says:
function sm_register_shortcode_handler_sm_accordion() {
if ( defined( 'WPB_VC_VERSION' ) ) {
require_once vc_path_dir( 'SHORTCODES_DIR', 'vc-accordion.php' );
class WPBakeryShortCode_sm_accordion extends WPBakeryShortCode_VC_Accordion {
function content($atts, $content = null) {
return sm_accordion_func( $atts, $content );
}
}
Line 13 is: require_once vc_path_dir( ‘SHORTCODES_DIR’, ‘vc-accordion.php’ );
I tried adding the @ that ravipatel suggested, but that didn’t change anything. I tried updating the PHP version, but that only resulted in a server error.
Another weird thing is, I made a new WordPress page, installed the same theme and it’s working fine on there.