Title: SyntaxError: expected expression, got &#8216;&lt;&#039;
Last modified: July 6, 2017

---

# SyntaxError: expected expression, got ‘<'

 *  [gekomees](https://wordpress.org/support/users/gekomees/)
 * (@gekomees)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/syntaxerror-expected-expression-got-4/)
 * On a page with pricing table there is a javascript error:
    `SyntaxError: expected
   expression, got '<'`
 * Plugin is upgraded to the latest version. Short of turning off all plugins how
   could I find out what is causing this? Edit: fixed, see bottom.
 * Problem seems to be caused by random p elements in the javascript.
 *     ```
                jQuery(document).ready(function($) {    </p>
       <p>          $('.ptp-plan').matchHeight(false); 
                 $('.ptp-cta').matchHeight(false); 
                 $('.ptp-price').matchHeight(false);
                 $('.ptp-button').matchHeight(false);</p>
       <p>          $('.ptp-bullet-item').each(function( index ){
                     $('.ptp-row-id-'+index).matchHeight(false);</p>
       <p>            });</p>
       <p>         });
             </script>
       ```
   
 * **I fixed this by removing all the whitespace in the javascript text string in
   design1.php file. You really shouldn’t include javascript like this.** See also:
   
   [https://stackoverflow.com/questions/31340052/wordpress-add-p-tags-to-my-javascript](https://stackoverflow.com/questions/31340052/wordpress-add-p-tags-to-my-javascript)
    -  This topic was modified 8 years, 9 months ago by [gekomees](https://wordpress.org/support/users/gekomees/).
    -  This topic was modified 8 years, 9 months ago by [gekomees](https://wordpress.org/support/users/gekomees/).
    -  This topic was modified 8 years, 9 months ago by [gekomees](https://wordpress.org/support/users/gekomees/).

The topic ‘SyntaxError: expected expression, got ‘<'’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-pricing-table-manager_695250.
   svg)
 * [Easy Pricing Table](https://wordpress.org/plugins/easy-pricing-table-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-pricing-table-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-pricing-table-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-pricing-table-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-pricing-table-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-pricing-table-manager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [gekomees](https://wordpress.org/support/users/gekomees/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/syntaxerror-expected-expression-got-4/)
 * Status: not resolved