Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    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 5 years, 11 months ago by Chris.
    Thread Starter Chris

    (@stchris)

    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
    Thread Starter Chris

    (@stchris)

    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)