Issue with “Add to Home Screen” plugin

if rollback to V3.3.1, no more problem.

How can I provide information to help with the problem?
Thanks

Fatal error: Uncaught ReflectionException: Class “Tangible\Symfony\Component\Translation\Translator” does not exist in /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/framework/date/Carbon/src/Carbon/Translator.php:22 Stack trace: #0 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/framework/date/Carbon/src/Carbon/Translator.php(22): ReflectionMethod->__construct() #1 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/add-to-home-screen/vendor/composer/ClassLoader.php(412): include(‘/home/xxxxxxx…’) #2 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/add-to-home-screen/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile() #3 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/framework/date/Carbon/src/Carbon/Traits/Localization.php(701): Composer\Autoload\ClassLoader->loadClass() #4 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/framework/date/Carbon/src/Carbon/Traits/Localization.php(738): Tangible\Carbon\Carbon::translator() #5 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/framework/date/Carbon/src/Carbon/Traits/Localization.php(492): Tangible\Carbon\Carbon::getLocaleAwareTranslator() #6 [internal function]: Tangible\Carbon\Carbon::setLocale() #7 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/framework/date/index.php(40): call_user_func_array() #8 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/framework/date/index.php(55): tangible\DateCreator->__call() #9 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/language/tags/date.php(15): tangible\DateCreator->setLocale() #10 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/language/html/render/tag.php(79): stdClass@anonymous->{closure}() #11 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/language/html/render/index.php(65): stdClass@anonymous->{closure}() #12 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/language/html/render/index.php(35): stdClass@anonymous->{closure}() #13 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/language/index.php(106): stdClass@anonymous->{closure}() #14 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/language/tags/exit.php(16): stdClass@anonymous->__call() #15 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/language/index.php(106): stdClass@anonymous->{closure}() #16 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/language/tags/exit.php(43): stdClass@anonymous->__call() #17 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/language/index.php(106): stdClass@anonymous->{closure}() #18 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/admin/template-post/render.php(75): stdClass@anonymous->__call() #19 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/admin/system.php(50): stdClass@anonymous->{closure}() #20 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/admin/template-post/tag.php(64): stdClass@anonymous->__call() #21 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/admin/system.php(50): stdClass@anonymous->{closure}() #22 /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/admin/template-post/tag.php(115): stdClass@anonymous->__call() #23 /home/xxxxxxx/xxxxxxx.fr/wp-includes/shortcodes.php(433): stdClass@anonymous->{closure}() #24 [internal function]: do_shortcode_tag() #25 /home/xxxxxxx/xxxxxxx.fr/wp-includes/shortcodes.php(273): preg_replace_callback() #26 /home/xxxxxxx/xxxxxxx.fr/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3100): do_shortcode() #27 /home/xxxxxxx/xxxxxxx.fr/wp-includes/shortcodes.php(433): ET_Builder_Element->_render() #28 [internal function]: do_shortcode_tag() #29 /home/xxxxxxx/xxxxxxx.fr/wp-includes/shortcodes.php(273): preg_replace_callback() #30 /home/xxxxxxx/xxxxxxx.fr/wp-content/themes/Divi/includes/builder/main-structure-elements.php(3784): do_shortcode() #31 /home/xxxxxxx/xxxxxxx.fr/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3419): ET_Builder_Column->render() #32 /home/xxxxxxx/xxxxxxx.fr/wp-includes/shortcodes.php(433): ET_Builder_Element->_render() #33 [internal function]: do_shortcode_tag() #34 /home/xxxxxxx/xxxxxxx.fr/wp-includes/shortcodes.php(273): preg_replace_callback() #35 /home/xxxxxxx/xxxxxxx.fr/wp-content/themes/Divi/includes/builder/main-structure-elements.php(2274): do_shortcode() #36 /home/xxxxxxx/xxxxxxx.fr/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3419): ET_Builder_Row->render() #37 /home/xxxxxxx/xxxxxxx.fr/wp-includes/shortcodes.php(433): ET_Builder_Element->_render() #38 [internal function]: do_shortcode_tag() #39 /home/xxxxxxx/xxxxxxx.fr/wp-includes/shortcodes.php(273): preg_replace_callback() #40 /home/xxxxxxx/xxxxxxx.fr/wp-content/themes/Divi/includes/builder/main-structure-elements.php(1606): do_shortcode() #41 /home/xxxxxxx/xxxxxxx.fr/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3419): ET_Builder_Section->render() #42 /home/xxxxxxx/xxxxxxx.fr/wp-includes/shortcodes.php(433): ET_Builder_Element->_render() #43 [internal function]: do_shortcode_tag() #44 /home/xxxxxxx/xxxxxxx.fr/wp-includes/shortcodes.php(273): preg_replace_callback() #45 /home/xxxxxxx/xxxxxxx.fr/wp-includes/class-wp-hook.php(324): do_shortcode() #46 /home/xxxxxxx/xxxxxxx.fr/wp-includes/plugin.php(205): WP_Hook->apply_filters() #47 /home/xxxxxxx/xxxxxxx.fr/wp-content/themes/Divi/includes/builder/core.php(26): apply_filters() #48 /home/xxxxxxx/xxxxxxx.fr/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(347): et_builder_render_layout() #49 /home/xxxxxxx/xxxxxxx.fr/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(506): et_theme_builder_frontend_render_layout() #50 /home/xxxxxxx/xxxxxxx.fr/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-body-template.php(10): et_theme_builder_frontend_render_body() #51 /home/xxxxxxx/xxxxxxx.fr/wp-includes/template-loader.php(106): include(‘/home/xxxxxxx…’) #52 /home/xxxxxxx/xxxxxxx.fr/wp-blog-header.php(19): require_once(‘/home/xxxxxxx…’) #53 /home/xxxxxxx/xxxxxxx.fr/index.php(17): require(‘/home/xxxxxxx…’) #54 {main} thrown in /home/xxxxxxx/xxxxxxx.fr/wp-content/plugins/tangible-loops-and-logic/vendor/tangible/template-system/framework/date/Carbon/src/Carbon/Translator.php on line 22

Apparently this is a conflict with the plugin add-to-home-screen.

It looks like it’s this plugin: Add To Home Screen – WordPress plugin | WordPress.org

It hasn’t been updated in 8 years - that might be related to the problem. We’ll take a look and see if it’s possible to solve this on our side.

To confirm, could you see if the issue still happens when the Add to Home Screen plugin is deactivated?

OK, I confirmed the issue is caused by the “Add to Home Screen” plugin.

When it’s activated, it interferes with the class autoload process, so that L&L (specifically the Carbon date library) is unable to find a class that it needs. Unfortunately, we’re not able to work around this issue on our side.

I think the only solution is to use another plugin that achieves the same purpose.

I’m so confused I didn’t see it!
It’s an old website that I just recovered.
The plugin in question is not even used, I deleted it and everything works wonderfully.
Many thanks again! :pray:

Ah, that’s great that the plugin was unnecessary, whew. :smile: