Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jmvanoort

    (@jmvanoort)

    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.

    It worked perfectly for me. Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)