Support » Plugin: Accordion » SyntaxError: expected expression, got '

  • My accordions no longer collapse.

    The error regards this section of the js code, esp the </p><p> area (line175):

    Running WP version 4.2.2 and Accordions version 2.0.3

    I should add that I had to use php within a page b/se the shortcode would not work – it used to work, but won’t now (i deactivated all plugins to test and it persisted). I am using insert php plugin to accomplish this. The code is formatted this way:

    echo do_shortcode(“[accordions id=’1710′]”);

Viewing 2 replies - 1 through 2 (of 2 total)
  • ooops, I meant WP version 4.4.2

    This might be wpautop(); issue
    I can see <p> inside scripts tags.

    Can you please make demo page and paste the shortcode only inside content [accordions id='1710'] and see the result.

    Best Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SyntaxError: expected expression, got '’ is closed to new replies.