Title: Syntax error
Last modified: July 13, 2023

---

# Syntax error

 *  Resolved [vraisa](https://wordpress.org/support/users/vraisa/)
 * (@vraisa)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-234/)
 * Latest Elementor Pro and latest version of split test for elementor
 * > Parse error: syntax error, unexpected ‘|’, expecting ‘;’ or ‘{‘ in /wordpress/
   > wp-content/plugins/split-test-for-elementor/Classes/Services/CacheCheckService.
   > php on line 59
   > Notice: Function is_embed was called incorrectly. Conditional query tags do
   > not work before the query is run. Before then, they always return false. Please
   > see Debugging in WordPress for more information. (This message was added in
   > version 3.1.0.) in /wordpress/wp-includes/functions.php on line 5865
   > Notice: Function is_search was called incorrectly. Conditional query tags do
   > not work before the query is run. Before then, they always return false. Please
   > see Debugging in WordPress for more information. (This message was added in
   > version 3.1.0.) in /wordpress/wp-includes/functions.php on line 5865
   > 
   > There has been a critical error on this website. Please check your site admin
   > email inbox for instructions.
    -  This topic was modified 2 years, 10 months ago by [vraisa](https://wordpress.org/support/users/vraisa/).

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

 *  Thread Starter [vraisa](https://wordpress.org/support/users/vraisa/)
 * (@vraisa)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-234/#post-16891883)
 * Can not update to 1.6.6
 *  [Michael](https://wordpress.org/support/users/migaweb/)
 * (@migaweb)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-234/#post-16894823)
 * Quick note since I had the same issue with 1.6.6 on one server: update your PHP
   version 😉 It’s using PHP 8 features
 *  Plugin Author [rocketelements](https://wordpress.org/support/users/rocketelements/)
 * (@rocketelements)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-234/#post-16906692)
 * Yes for some reason this code only running under php8 got live. We altered the
   code to be more backwards compatible. Sorry for the headache it caused. For anyone
   else please update to the latest version or use php 8.

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

The topic ‘Syntax error’ is closed to new replies.

 * ![](https://ps.w.org/split-test-for-elementor/assets/icon-256x256.jpg?rev=3385865)
 * [Split Test For Elementor](https://wordpress.org/plugins/split-test-for-elementor/)
 * [Support Threads](https://wordpress.org/support/plugin/split-test-for-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/split-test-for-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/split-test-for-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/split-test-for-elementor/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [rocketelements](https://wordpress.org/support/users/rocketelements/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-234/#post-16906692)
 * Status: resolved