Title: Chris's Replies | WordPress.org

---

# Chris

  [  ](https://wordpress.org/support/users/stchris/)

 *   [Profile](https://wordpress.org/support/users/stchris/)
 *   [Topics Started](https://wordpress.org/support/users/stchris/topics/)
 *   [Replies Created](https://wordpress.org/support/users/stchris/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/stchris/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/stchris/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/stchris/engagements/)
 *   [Favorites](https://wordpress.org/support/users/stchris/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CSS & JavaScript Toolbox] PHP warning](https://wordpress.org/support/topic/php-warning-177/)
 *  [Chris](https://wordpress.org/support/users/stchris/)
 * (@stchris)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-warning-177/#post-10996840)
 * I got the same issue and the following is just my attempt at a fix so use at 
   your own risk:
 * On PHP7.2+ it should suffice to change:
    /framework/events/subjects/subject.subject.
   php LINE: 70
 * from
    return isset($this->definition[$name]) ? $this->definition[$name] : NULL;
 * to
    return isset($this->definition[$name]) ? $this->definition[$name] : [];
 * At least I get no errors doing this.
    Hope this helps. Kind regards Chris
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CSS & JavaScript Toolbox] Installation Errors](https://wordpress.org/support/topic/installation-errors-14/)
 *  [Chris](https://wordpress.org/support/users/stchris/)
 * (@stchris)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/installation-errors-14/#post-10987773)
 * On the latest update I get the same error running PHP7.2. I didn’t see the error
   before.
 * On PHP7.2+ it should suffice to change:
    /framework/events/subjects/subject.subject.
   php LINE: 70
 * from
    return isset($this->definition[$name]) ? $this->definition[$name] : NULL;
 * to
    return isset($this->definition[$name]) ? $this->definition[$name] : [];
 * At least I get no errors doing this.
    Hope this helps. Kind regards Chris
    -  This reply was modified 7 years, 8 months ago by [Chris](https://wordpress.org/support/users/stchris/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Fastest Cache - WordPress Cache Plugin] preg_match expects parameter 1 to be string, object given](https://wordpress.org/support/topic/preg_match-expects-parameter-1-to-be-string-object-given/)
 *  Thread Starter [Chris](https://wordpress.org/support/users/stchris/)
 * (@stchris)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/preg_match-expects-parameter-1-to-be-string-object-given/#post-10872219)
 *     ```
       2018/11/02 09:24:35 [error] 56772#0: *283972 FastCGI sent in stderr: "*/wp-content/plugins/wp-fastest-cache/wpFastestCache.php:769
       PHP message: PHP  15. WpFastestCache->delete_cache_of_term() */wp-content/plugins/wp-fastest-cache/wpFastestCache.php:885
       PHP message: PHP  16. preg_quote() */wp-content/plugins/wp-fastest-cache/wpFastestCache.php:907
       PHP message: Url is currenty of type: object With the content: {"errors":{"invalid_taxonomy":["Ung\u00fcltige Taxonomie."]},"error_data":[]}
       PHP message: PHP Warning:  preg_quote() expects parameter 1 to be string, object given in */wp-content/plugins/wp-fastest-cache/wpFastestCache.php on line 907
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Resources URL Optimization] Error after switching Providers](https://wordpress.org/support/topic/error-after-switching-providers/)
 *  Thread Starter [Chris](https://wordpress.org/support/users/stchris/)
 * (@stchris)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/error-after-switching-providers/#post-3396678)
 * My bad. The new provider still had PHP4.
    For everybody else with a similar problem:
 * add
 * # PHP5-CGI
    AddHandler php53-cgi .php
 * to the .htaccess in your root folder and it might just work 🙂

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