• We’re seeing the following PHP (v8.0.x) error. Is this something you could address in a future plugin update? Thank you!

    PHP Fatal error:  Uncaught Error: Object of class WP_Error could not be converted to string in /.../wp-includes/pluggable.php:1436
    Stack trace:
    #0 /.../wp-includes/pluggable.php(1436): str_replace(' ', '%20', Object(WP_Error))
    #1 /.../wp-includes/pluggable.php(1512): wp_sanitize_redirect(Object(WP_Error))
    #2 /.../wp-content/plugins/sitepress-multilingual-cms/classes/wpml-wp/class-wpml-wp-api.php(728): wp_safe_redirect(Object(WP_Error), 302)
    #3 /.../wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-query-parser.php(291): WPML_WP_API->wp_safe_redirect(Object(WP_Error))
    #4 /../wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-query-parser.php(345): WPML_Query_Parser->maybe_redirect_to_translated_taxonomy(Object(WP_Query), 'ja')
    #5 /.../wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(3310): WPML_Query_Parser->parse_query(Object(WP_Query))
    #6 /.../wp-includes/class-wp-hook.php(308): SitePress->parse_query(Object(WP_Query))
    #7 /.../wp-includes/ in /code/wp-includes/pluggable.php on line 1436
Viewing 2 replies - 1 through 2 (of 2 total)
  • Dragos

    (@dragosvrejiu)

    Hello,

    Thank you for reaching out to us!

    Are you using TranslatePress and WPML together?

    In case you do, please note that those two plugins do not work well one with another.

    Best wishes,

    Thread Starter Marco Schmoecker

    (@marcosf)

    Hi Dragos,
    Sorry, I did not realize that the error message is for/from WPML. We’re not using them at the same time and that plugin got removed. Please disregard this message. I’ll open a new ticket when I see the error message related to Translatepress.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP8 error’ is closed to new replies.