custom-content-shortcode icon indicating copy to clipboard operation
custom-content-shortcode copied to clipboard

Non-static method CCS_Loop::shortcode_comment() should not be called statically

Open codemonkeynorth opened this issue 5 years ago • 0 comments

I have a shortcode that starts with a note [note]improve logic[/note]

and I call it from my php in a function in an array with 'total_fees' => do_shortcode('[total_fees_formatted course_type='.$course_type.']'),

when I run this i get the error Non-static method CCS_Loop::shortcode_comment() should not be called statically

all my other CCS functions [global], [format], [if] etc work fine

thanks

codemonkeynorth avatar Jul 01 '20 17:07 codemonkeynorth