Title: Fatal error: Uncaught PHPParser_Error: Syntax error
Last modified: September 20, 2020

---

# Fatal error: Uncaught PHPParser_Error: Syntax error

 *  Resolved [Ram Freedman](https://wordpress.org/support/users/ramf/)
 * (@ramf)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-phpparser_error-syntax-error/)
 * Hi,
    When I go to the wpt_test_respondents_results page I see under the results
   section an error:
 * Fatal error: Uncaught PHPParser_Error: Syntax error, unexpected ‘-‘ on line 1
   in /home/psifascoil/public_html/wp-content/plugins/wp-testing/vendor/nikic/php-
   parser/lib/PHPParser/Parser.php:1098 Stack trace: #0 /home/psifascoil/public_html/
   wp-content/plugins/wp-testing/src/Model/Compilable.php(229): PHPParser_Parser-
   >parse(‘<?php – — -<=5…’) #1 /home/psifascoil/public_html/wp-content/plugins/
   wp-testing/src/Model/Compilable.php(155): WpTesting_Model_Compilable->substitute()#
   2 /home/psifascoil/public_html/wp-content/plugins/wp-testing/src/Model/Formula.
   php(69): WpTesting_Model_Compilable->compile() #3 /home/psifascoil/public_html/
   wp-content/plugins/wp-testing/src/Model/Passing.php(295): WpTesting_Model_Formula-
   >isTrue() #4 /home/psifascoil/public_html/wp-content/plugins/wp-testing/src/Widget/
   PassingTable/Admin.php(177): WpTesting_Model_Passing->buildResults() #5 /home/
   psifascoil/public_html/wp-content/plugins/wp-testing/src/Widget/ListTable.php(
   208): WpTesting_Widget_PassingTable_Admin->render_static_column(Object(WpTest
   in /home/psifascoil/public_html/wp-content/plugins/wp-testing/vendor/nikic/php-
   parser/lib/PHPParser/Parser.php on line 1098
 * Can you please help?
    Regards, Ram

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

 *  Plugin Contributor [ustimenko](https://wordpress.org/support/users/ustimenko/)
 * (@ustimenko)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-phpparser_error-syntax-error/#post-13429140)
 * It’s a clear error in your formulas.
 * Looks like you renamed slug of your scale, but didn’t update formulas where it
   was used.
 *  Thread Starter [Ram Freedman](https://wordpress.org/support/users/ramf/)
 * (@ramf)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-phpparser_error-syntax-error/#post-13429184)
 * Thanks!

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

The topic ‘Fatal error: Uncaught PHPParser_Error: Syntax error’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-testing_fff0ea.svg)
 * [Psychological tests & quizzes](https://wordpress.org/plugins/wp-testing/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-testing/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-testing/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-testing/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-testing/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-testing/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [Ram Freedman](https://wordpress.org/support/users/ramf/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-phpparser_error-syntax-error/#post-13429184)
 * Status: resolved