• Chris

    (@stchris)


    Hi guys,

    we are getting the above error on our page from the file
    /wp-fastest-cache/wpFastestCache.php on line 905

    It seems get_term_link returns an “invalid_taxonomy” error object.
    The taxonomy from the term object is: “taxonomy”:”product_delivery_time”

    adding:
    if(is_wp_error($url)) { return false; }
    “fixes” the issue.

    Hope this helps.
    Kind regards
    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Emre Vona

    (@emrevona)

    do you get the error on error_log? May I see the full warning please?

    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
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘preg_match expects parameter 1 to be string, object given’ is closed to new replies.