WMPL issue

Okay so you’ll need to turn on WP_DEBUG in your wp-config settings to get a more useful message. See this guide. If you click the “message” text too it’ll expand to the full message. Let me know how I can help out.

https://wordpress.org/documentation/article/debugging-in-wordpress/#wp_debug

Here’s the debug log :

[13-Feb-2023 16:56:54 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/functions.php on line 5279
[13-Feb-2023 16:56:54 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/functions.php on line 5279
[13-Feb-2023 16:57:08 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/functions.php on line 5279
[13-Feb-2023 16:57:08 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/functions.php on line 5279
[13-Feb-2023 16:57:08 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/really-simple-ssl/class-mixed-content-fixer.php on line 107
[13-Feb-2023 16:57:10 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/functions.php on line 5279
[13-Feb-2023 16:57:10 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/functions.php on line 5279
[13-Feb-2023 16:57:11 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/functions.php on line 5279
[13-Feb-2023 16:57:11 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/functions.php on line 5279
[13-Feb-2023 16:57:11 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/really-simple-ssl/class-mixed-content-fixer.php on line 107
[13-Feb-2023 16:57:17 UTC] PHP Fatal error: Uncaught ValueError: mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:283
Stack trace:
#0 [internal function]: mb_strpos(’<a href="http:/…’, ‘wp-block’, 89)
#1 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(283): call_user_func_array(‘mb_strpos’, Array)
#2 [internal function]: WPML\FP{closure}(‘wp-block’, ‘<a href="http:/…’, 89)
#3 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(152): call_user_func_array(Object(Closure), Array)
#4 [internal function]: WPML\FP{closure}(‘wp-block’, ‘<a href="http:/…’, 89)
#5 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(48): call_user_func_array(Object(Closure), Array)
#6 [internal function]: WPML\FP{closure}(‘wp-block’, ‘<a href="http:/…’, 89)
#7 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(152): call_user_func_array(Object(Closure), Array)
#8 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Collection.php(869): WPML\FP{closure}(’<a href="http:/…’, 89)
#9 [internal function]: WPML\Collect\Support\Collection->WPML\Collect\Support{closure}(’<a href="http:/…’, 89)
#10 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Arr.php(504): array_filter(Array, Object(Closure), 1)
#11 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Collection.php(282): WPML\Collect\Support\Arr::where(Array, Object(Closure))
#12 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Collection.php(870): WPML\Collect\Support\Collection->filter(Object(Closure))
#13 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/wpml-media-translation/classes/media-translation/class-wpml-media-href-parser.php(59): WPML\Collect\Support\Collection->reject(Object(Closure))
#14 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/wpml-media-translation/classes/media-translation/class-wpml-media-href-parser.php(36): WPML\Media\Classes\WPML_Media_Href_Parser->getAnchorsWithoutNestedTags()
#15 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/wpml-media-translation/classes/media-translation/factories/class-wpml-media-element-parser-factory.php(36): WPML\Media\Classes\WPML_Media_Href_Parser->validate()
#16 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/wpml-media-translation/classes/media-translation/class-wpml-media-post-with-media-files.php(58): WPML\Media\Factories\WPML_Media_Element_Parser_Factory->create(’[cs_content][cs…’)
#17 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/wpml-media-translation/classes/media-usage/class-wpml-media-post-media-usage.php(53): WPML_Media_Post_With_Media_Files->get_media_ids()
#18 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp-hook.php(310): WPML_Media_Post_Media_Usage->update_media_usage(42598, Object(WP_Post))
#19 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#20 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#21 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/post.php(4717): do_action(‘save_post’, 42598, Object(WP_Post), true)
#22 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/post.php(4819): wp_insert_post(Array, false, true)
#23 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/cornerstone/includes/classes/Documents/Content.php(299): wp_update_post(Array)
#24 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/cornerstone/includes/classes/Controllers/Documents.php(83): Themeco\Cornerstone\Documents\Content->save()
#25 [internal function]: Themeco\Cornerstone\Controllers\Documents->update(Array)
#26 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/cornerstone/includes/classes/Controllers/Save.php(51): call_user_func_array(Array, Array)
#27 [internal function]: Themeco\Cornerstone\Controllers\Save->save(Array)
#28 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/cornerstone/includes/classes/Services/Routes.php(147): call_user_func_array(Array, Array)
#29 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp-hook.php(308): Themeco\Cornerstone\Services\Routes->Themeco\Cornerstone\Services{closure}(NULL, Array)
#30 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array)
#31 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/cornerstone/includes/classes/Services/Routes.php(99): apply_filters(‘tco_routing_pos…’, NULL, Array)
#32 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/rest-api/class-wp-rest-server.php(1171): Themeco\Cornerstone\Services\Routes->rest_endpoint(Object(WP_REST_Request))
#33 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/rest-api/class-wp-rest-server.php(1018): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/themeco/data/(…’, Array, NULL)
#34 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch(Object(WP_REST_Request))
#35 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/rest-api.php(410): WP_REST_Server->serve_request(’/themeco/data/s…’)
#36 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp-hook.php(308): rest_api_loaded(Object(WP))
#37 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(’’, Array)
#38 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#39 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp.php(399): do_action_ref_array(‘parse_request’, Array)
#40 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp.php(780): WP->parse_request(’’)
#41 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/functions.php(1332): WP->main(’’)
#42 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-blog-header.php(16): wp()
#43 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/index.php(17): require(’/home/clients/3…’)
#44 {main}
thrown in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php on line 283
[13-Feb-2023 16:57:17 UTC] PHP Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Lst.php on line 115
[13-Feb-2023 16:58:55 UTC] PHP Fatal error: Uncaught ValueError: mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:283
Stack trace:
#0 [internal function]: mb_strpos(’<a href="http:/…’, ‘wp-block’, 89)
#1 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(283): call_user_func_array(‘mb_strpos’, Array)
#2 [internal function]: WPML\FP{closure}(‘wp-block’, ‘<a href="http:/…’, 89)
#3 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(152): call_user_func_array(Object(Closure), Array)
#4 [internal function]: WPML\FP{closure}(‘wp-block’, ‘<a href="http:/…’, 89)
#5 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(48): call_user_func_array(Object(Closure), Array)
#6 [internal function]: WPML\FP{closure}(‘wp-block’, ‘<a href="http:/…’, 89)
#7 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(152): call_user_func_array(Object(Closure), Array)
#8 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Collection.php(869): WPML\FP{closure}(’<a href="http:/…’, 89)
#9 [internal function]: WPML\Collect\Support\Collection->WPML\Collect\Support{closure}(’<a href="http:/…’, 89)
#10 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Arr.php(504): array_filter(Array, Object(Closure), 1)
#11 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Collection.php(282): WPML\Collect\Support\Arr::where(Array, Object(Closure))
#12 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Collection.php(870): WPML\Collect\Support\Collection->filter(Object(Closure))
#13 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/wpml-media-translation/classes/media-translation/class-wpml-media-href-parser.php(59): WPML\Collect\Support\Collection->reject(Object(Closure))
#14 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/wpml-media-translation/classes/media-translation/class-wpml-media-href-parser.php(36): WPML\Media\Classes\WPML_Media_Href_Parser->getAnchorsWithoutNestedTags()
#15 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/wpml-media-translation/classes/media-translation/factories/class-wpml-media-element-parser-factory.php(36): WPML\Media\Classes\WPML_Media_Href_Parser->validate()
#16 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/wpml-media-translation/classes/media-translation/class-wpml-media-post-with-media-files.php(58): WPML\Media\Factories\WPML_Media_Element_Parser_Factory->create(’[cs_content][cs…’)
#17 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/wpml-media-translation/classes/media-usage/class-wpml-media-post-media-usage.php(53): WPML_Media_Post_With_Media_Files->get_media_ids()
#18 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp-hook.php(310): WPML_Media_Post_Media_Usage->update_media_usage(42598, Object(WP_Post))
#19 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#20 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#21 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/post.php(4717): do_action(‘save_post’, 42598, Object(WP_Post), true)
#22 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/post.php(4819): wp_insert_post(Array, false, true)
#23 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/cornerstone/includes/classes/Documents/Content.php(299): wp_update_post(Array)
#24 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/cornerstone/includes/classes/Controllers/Documents.php(83): Themeco\Cornerstone\Documents\Content->save()
#25 [internal function]: Themeco\Cornerstone\Controllers\Documents->update(Array)
#26 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/cornerstone/includes/classes/Controllers/Save.php(51): call_user_func_array(Array, Array)
#27 [internal function]: Themeco\Cornerstone\Controllers\Save->save(Array)
#28 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/cornerstone/includes/classes/Services/Routes.php(147): call_user_func_array(Array, Array)
#29 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp-hook.php(308): Themeco\Cornerstone\Services\Routes->Themeco\Cornerstone\Services{closure}(NULL, Array)
#30 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array)
#31 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/cornerstone/includes/classes/Services/Routes.php(99): apply_filters(‘tco_routing_pos…’, NULL, Array)
#32 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/rest-api/class-wp-rest-server.php(1171): Themeco\Cornerstone\Services\Routes->rest_endpoint(Object(WP_REST_Request))
#33 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/rest-api/class-wp-rest-server.php(1018): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/themeco/data/(…’, Array, NULL)
#34 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch(Object(WP_REST_Request))
#35 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/rest-api.php(410): WP_REST_Server->serve_request(’/themeco/data/s…’)
#36 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp-hook.php(308): rest_api_loaded(Object(WP))
#37 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(’’, Array)
#38 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#39 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp.php(399): do_action_ref_array(‘parse_request’, Array)
#40 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/class-wp.php(780): WP->parse_request(’’)
#41 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/functions.php(1332): WP->main(’’)
#42 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-blog-header.php(16): wp()
#43 /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/index.php(17): require(’/home/clients/3…’)
#44 {main}
thrown in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php on line 283
[13-Feb-2023 16:58:55 UTC] PHP Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Lst.php on line 115
[13-Feb-2023 16:59:05 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/functions.php on line 5279
[13-Feb-2023 16:59:05 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-includes/functions.php on line 5279
[13-Feb-2023 16:59:05 UTC] PHP Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home/clients/3f675678cd9ba378d8a3eb7eda093299/sites/new.mendo.ch/wp-content/plugins/really-simple-ssl/class-mixed-content-fixer.php on line 107

Okay thanks a bunch for this. You will need to install php-mbstring (usually just sudo apt install php-mbstring). This plugin is kind of essential and you’ll probably encounter more issues if you don’t install it. WPML is relying on this it looks like. Let me know if you have any other questions!

https://www.php.net/manual/en/mbstring.installation.php

According to my host, it is activated :

Should I activate the 8.2 version of php ?

I’m not entirely sure PHP 8.2 will do anything, but if you’re already on 8.0 you shouldn’t have any issues going up. This one is really alluding me if mbstring is already installed. Having that disabled actually relies on a fallback function from WPML so you would be good either way on that, but based on the stack trace this is something WPML is doing. Disabling WP blocks might help too.

add_filter("cs_wpml_enable_page_builder_integration", "__return_true") For the meantime if adding this filter to a child theme fixes the issue, then it’s the change we made. But then your back to the page saving overwritting issue again.

Is there a WPML upgrade available to you? I’d also reach out to them with the following if they have any answers. It really shouldn’t have a fatal error so they’re missing a check somewhere. The whole stack trace might help them too.

This is the following error, it happens after wp_update_post.

PHP Fatal error: Uncaught ValueError: mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) in /home/SITE_NAME/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:283

I tried this, but didn’t change the issue…

I also found this :

That’s unfortunate the filter didn’t work because at this point it’s a WPML thing.
Those zlib issues can probably be ignored and looks to be connected to really-simple-ssl, the following forum post seems to fix that if that helps, but The fatal error was the mb_strpos error from WPML which would prevent the save.

Ok Thanks a lot for all your trouble.

I found that in WPML known issues : https://wpml.org/errata/elementor-and-php8-when-saving-a-page-there-is-php-fatal-error-uncaught-valueerror-mb_strpos/

I deactivated the Media translation and was able to save the page !!
Thanks again.
You can close this ticket.

1 Like

Thanks for sending this info our way. Have a great day!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.