mram1r
Forum Replies Created
-
Forum: Plugins
In reply to: [Loco Translate] Error in plugin pageHi Tim Thank you for your time
I think the problem is due to the limitations of shared hosting, because other sites do not have this problem, and unfortunately, the hosting support did not provide the requested information (DOM extension) .
Forum: Plugins
In reply to: [Loco Translate] Error in plugin pageI searched all the files with .xml extension in the host
/public_html/wp-includes/class-wp-xmlrpc-server.php
/public_html/wp-includes/wlwmanifest.xml
/public_html/wp-content/plugins/woocommerce/includes/legacy/api/v1/class-wc-api-xml-handler.php
/public_html/wp-content/plugins/woocommerce/sample-data/sample_products.xml
/public_html/wp-content/plugins/woocommerce/vendor/maxmind-db/reader/package.xml
/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/checkstyle.xml
/public_html/wp-content/plugins/yith-woocommerce-wishlist/wpml-config.xml
/public_html/wp-content/plugins/yith-woocommerce-wishlist/plugin-fw/phpcs.xml
/public_html/wp-content/plugins/loco-translate/loco.xml
/public_html/wp-content/themes/flatsome/wpml-config.xml
/public_html/wp-content/themes/flatsome/inc/builder/core/phpunit.xml.distDoes this help?
And I noticed another issue, when the php version changes to 8.1 , I get a new error on the plugin page:
Fatal error: Uncaught Error: Typed property DOMDocument::$documentElement must not be accessed before initialization in /home/…./public_html/wp-content/plugins/loco-translate/src/config/XMLModel.php:81 Stack trace: #0 /home/…./public_html/wp-content/plugins/loco-translate/src/config/BundleReader.php(27): Loco_config_XMLModel->loadXml() #1 /home/…./public_html/wp-content/plugins/loco-translate/src/package/Bundle.php(501): Loco_config_BundleReader->loadXml() #2 /home/…./public_html/wp-content/plugins/loco-translate/src/package/Bundle.php(599): Loco_package_Bundle->configureXml() #3 /home/…./public_html/wp-content/plugins/loco-translate/src/package/Plugin.php(261): Loco_package_Bundle->configure() #4 /home/…./public_html/wp-content/plugins/loco-translate/src/package/Bundle.php(108): Loco_package_Plugin::create() #5 /home/…./public_html/wp-content/plugins/loco-translate/src/package/Bundle.php(95): Loco_package_Bundle::createType() #6 /home/…./public_html/wp-content/plugins/loco-translate/src/admin/RootController.php(50): Loco_package_Bundle::fromId() #7 /home/…./public_html/wp-content/plugins/loco-translate/src/mvc/AdminRouter.php(244): Loco_admin_RootController->render() #8 /home/…./public_html/wp-includes/class-wp-hook.php(308): Loco_mvc_AdminRouter->renderPage() #9 /home/…./public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #10 /home/…./public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /home/…./public_html/wp-admin/admin.php(259): do_action() #12 {main} thrown in /home/…./public_html/wp-content/plugins/loco-translate/src/config/XMLModel.php on line 81
Forum: Plugins
In reply to: [Loco Translate] Error in plugin pageHi Tim Thanks for reply ,
I don’t know how to find out which (XML) file is loaded
After reading that topic, I realized that this error was displayed when I changed the php version from 7.4 to 8.0.
I changed the php version again to 7.4 and the problem was solved!