Critical PHP error
-
Environment: multisite latest WP version (activation done on individual sites), latest TranslatePress version.
The plugin renders my website unusable. it was working until recently, I have tried downgrading, different version, disabling plugins, changing themes and nothing helps.
Error:
PHP Fatal error: Uncaught Error: __clone method called on non-object in /wp-content/plugins/translatepress-multilingual/includes/class-url-converter.php:428 Stack trace: #0 /wp-content/plugins/translatepress-multilingual/includes/class-url-converter.php(183): TRP_Url_Converter->get_url_for_language() #1 /wp-includes/class-wp-hook.php(322): TRP_Url_Converter->add_hreflang_to_head() #2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /wp-includes/plugin.php(517): WP_Hook->do_action() #4 /wp-includes/general-template.php(3064): do_action() #5 /wp-content/themes/sometheme/header.php(14): wp_head() #6 /wp-includes/template.php(810): require_once('…') #7 /wp-includes/template.php(745): load_template() #8 /wp-includes/general-template.php(48): locate_template() #9 /wp-content/themes/sometheme/woocommerce/archive-product.php(95): get_header() #10 /wp-includes/template-loader.php(106): include('…') #11 /wp-blog-header.php(19): require_once('…') #12 /index.php(17): require('…') #13 {main} thrown in /wp-content/plugins/translatepress-multilingual/includes/class-url-converter.php on line 428
- You must be logged in to reply to this topic.