Title: PHP Error on install
Last modified: August 21, 2016

---

# PHP Error on install

 *  Resolved [evanhawk72](https://wordpress.org/support/users/evanhawk72/)
 * (@evanhawk72)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-error-on-install-1/)
 * I keep getting this error on install
    Parse error: syntax error, unexpected T_STRING
   in /home/urbanloc/public_html/wp-content/plugins/fantastic-elasticsearch/elasticsearch.
   php on line 35
 * how can I fix this?
 * [http://wordpress.org/plugins/fantastic-elasticsearch/](http://wordpress.org/plugins/fantastic-elasticsearch/)

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

 *  Thread Starter [evanhawk72](https://wordpress.org/support/users/evanhawk72/)
 * (@evanhawk72)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-error-on-install-1/#post-4559015)
 * What version of PHP does it require? I cant figure out why its erroring out on
   namespace elasticsearch;
 *  Thread Starter [evanhawk72](https://wordpress.org/support/users/evanhawk72/)
 * (@evanhawk72)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-error-on-install-1/#post-4559066)
 * I upgraded to 5.3 PHP, and now I get these errors, any thoughts?
 * Warning: in_array() expects parameter 2 to be array, null given in /home/urbanloc/
   public_html/wp-content/plugins/fantastic-elasticsearch/wp/theme/category.php 
   on line 36
 * Warning: in_array() expects parameter 2 to be array, null given in /home/urbanloc/
   public_html/wp-content/plugins/fantastic-elasticsearch/wp/theme/category.php 
   on line 36
 * Warning: in_array() expects parameter 2 to be array, null given in /home/urbanloc/
   public_html/wp-content/plugins/fantastic-elasticsearch/wp/theme/category.php 
   on line 36
 * Warning: in_array() expects parameter 2 to be array, null given in /home/urbanloc/
   public_html/wp-content/plugins/fantastic-elasticsearch/wp/theme/category.php 
   on line 36
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/urbanloc/public_html/wp-content/plugins/fantastic-elasticsearch/wp/theme/
   category.php:36) in /home/urbanloc/public_html/wp-includes/pluggable.php on line
   896
 *  Plugin Author [Paris Holley](https://wordpress.org/support/users/parisholley/)
 * (@parisholley)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/php-error-on-install-1/#post-4559188)
 * I didn’t do a great job of testing early versions of the plugin for strict standards.
   You may want to try using the 2.2 branch on github that hasn’t been released 
   yet.
 * [https://github.com/parisholley/wordpress-fantastic-elasticsearch/archive/2.2.0.zip](https://github.com/parisholley/wordpress-fantastic-elasticsearch/archive/2.2.0.zip)

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

The topic ‘PHP Error on install’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/fantastic-elasticsearch_608f2e.svg)
 * [Fantastic ElasticSearch](https://wordpress.org/plugins/fantastic-elasticsearch/)
 * [Support Threads](https://wordpress.org/support/plugin/fantastic-elasticsearch/)
 * [Active Topics](https://wordpress.org/support/plugin/fantastic-elasticsearch/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fantastic-elasticsearch/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fantastic-elasticsearch/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Paris Holley](https://wordpress.org/support/users/parisholley/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/php-error-on-install-1/#post-4559188)
 * Status: resolved