Language filter plugin

General questions regarding the use of languages in Joomla! 3.x.

Moderators: infograf768, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
usci
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Jul 02, 2012 11:18 am

Language filter plugin

Post by usci » Wed Oct 16, 2019 9:03 pm

Hi,

i've started to localize and duplicate content in order to translate site.
Then, first i had problem editing template style so i've opened
to theme support: https://yootheme.com/support/question/1 ... wer-420120

After backup site, update everything to latest version (php also from 5.6 to 7.3)
and enable error report which show while trying editing modules from frontend

Code: Select all

Notice: Undefined index: in /home/accaitalia/domains/accademia-italiana.it/public_html/dev/plugins/system/languagefilter/languagefilter.php on line 222 
Call Stack: 0.0003 409656 1. {main}() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/index.php:0 0.0669 6062392 
2. Joomla\CMS\Application\SiteApplication->execute() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/index.php:49 0.0669 6062392 
3. Joomla\CMS\Application\SiteApplication->doExecute() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Application/CMSApplication.php:196 0.1885 15824632 
4. Joomla\CMS\Application\SiteApplication->route() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Application/SiteApplication.php:218 0.1885 15824632 
5. Joomla\CMS\Application\SiteApplication->route() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Application/SiteApplication.php:796 0.1886 15824880 
6. Joomla\CMS\Router\SiteRouter->parse() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Application/CMSApplication.php:1074 0.2077 16433784 
7. Joomla\CMS\Router\SiteRouter->parse() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/SiteRouter.php:138 0.2077 16433784 
8. Joomla\CMS\Router\SiteRouter->processParseRules() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:212 0.2077 16433784 
9. Joomla\CMS\Router\SiteRouter->processParseRules() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/SiteRouter.php:593 0.2108 16639856 
10. call_user_func_array:{/home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:596}() 
/home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:596 0.2108 16639888 
11. Sh404sefClassRouter->preprocessParseRule() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:596 0.2120 16687056 
12. Sh404sefClassRouter->_checkAliases() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/administrator/components/com_sh404sef/classes/router.php:263 0.2120 16687056 
13. Sh404sefFactory::getRedirector() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/administrator/components/com_sh404sef/classes/router.php:664 0.2128 16759136 
14. Sh404sefModelRedirector->__construct() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/administrator/components/com_sh404sef/sh404seffactory.php:205 0.2128 16759136 
15. Sh404sefModelRedirector->loadMatchRules() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/administrator/components/com_sh404sef/models/redirector.php:86 0.2129 16759944 
16. Sh404sefModelRedirector->findHardcodedMatchedRules() 
/home/accaitalia/domains/accademia-italiana.it/public_html/dev/administrator/components/com_sh404sef/models/redirector.php:115 0.2133 16777640 
17. Joomla\CMS\Router\Route::_() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/administrator/components/com_sh404sef/models/redirector.php:192 0.2133 16777640 
18. Joomla\CMS\Router\Route::link() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Route.php:52 0.2133 16777960 
19. Joomla\CMS\Router\SiteRouter->build() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Route.php:102 0.2134 16777960 
20. Joomla\CMS\Router\SiteRouter->build() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/SiteRouter.php:154 0.2135 16779088 
21. Joomla\CMS\Router\SiteRouter->_processBuildRules() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:270 0.2135 16779088 
22. Joomla\CMS\Router\SiteRouter->processBuildRules() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:614 0.2135 16779120 
23. Joomla\CMS\Router\SiteRouter->processBuildRules() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/SiteRouter.php:657 0.2135 16779520 
24. call_user_func_array:{/home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:638}() 
/home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:638 0.2135 16779552 
25. PlgSystemLanguageFilter->buildRule() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:638 
Notice: Trying to get property 'sef' of non-object in /home/accaitalia/domains/accademia-italiana.it/public_html/dev/plugins/system/languagefilter/languagefilter.php 
on line 222 Call Stack: 0.0003 409656 1. {main}() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/index.php:0 0.0669 6062392 

2. Joomla\CMS\Application\SiteApplication->execute() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/index.php:49 0.0669 6062392 
3. Joomla\CMS\Application\SiteApplication->doExecute() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Application/CMSApplication.php:196 0.1885 15824632 
4. Joomla\CMS\Application\SiteApplication->route() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Application/SiteApplication.php:218 0.1885 15824632 
5. Joomla\CMS\Application\SiteApplication->route() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Application/SiteApplication.php:796 0.1886 15824880 
6. Joomla\CMS\Router\SiteRouter->parse() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Application/CMSApplication.php:1074 0.2077 16433784 
7. Joomla\CMS\Router\SiteRouter->parse() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/SiteRouter.php:138 0.2077 16433784 
8. Joomla\CMS\Router\SiteRouter->processParseRules() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:212 0.2077 16433784 
9. Joomla\CMS\Router\SiteRouter->processParseRules() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/SiteRouter.php:593 0.2108 16639856 
10. call_user_func_array:{/home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:596}() 
/home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:596 0.2108 16639888 
11. Sh404sefClassRouter->preprocessParseRule() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:596 0.2120 16687056 
12. Sh404sefClassRouter->_checkAliases() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/administrator/components/com_sh404sef/classes/router.php:263 0.2120 16687056 
13. Sh404sefFactory::getRedirector() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/administrator/components/com_sh404sef/classes/router.php:664 0.2128 16759136 
14. Sh404sefModelRedirector->__construct() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/administrator/components/com_sh404sef/sh404seffactory.php:205 0.2128 16759136 
15. Sh404sefModelRedirector->loadMatchRules() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/administrator/components/com_sh404sef/models/redirector.php:86 0.2129 
16759944 16. Sh404sefModelRedirector->findHardcodedMatchedRules() 
/home/accaitalia/domains/accademia-italiana.it/public_html/dev/administrator/components/com_sh404sef/models/redirector.php:115 0.2133 16777640 
17. Joomla\CMS\Router\Route::_() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/administrator/components/com_sh404sef/models/redirector.php:192 0.2133 16777640 
18. Joomla\CMS\Router\Route::link() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Route.php:52 0.2133 16777960 
19. Joomla\CMS\Router\SiteRouter->build() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Route.php:102 0.2134 16777960 
20. Joomla\CMS\Router\SiteRouter->build() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/SiteRouter.php:154 0.2135 16779088 
21. Joomla\CMS\Router\SiteRouter->_processBuildRules() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:270 0.2135 16779088 
22. Joomla\CMS\Router\SiteRouter->processBuildRules() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:614 0.2135 16779120 
23. Joomla\CMS\Router\SiteRouter->processBuildRules() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/SiteRouter.php:657 0.2135 16779520 
24. call_user_func_array:{/home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:638}() 
/home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:638 0.2135 16779552 
25. PlgSystemLanguageFilter->buildRule() /home/accaitalia/domains/accademia-italiana.it/public_html/dev/libraries/src/Router/Router.php:638
Thanks
Anoush

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18881
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Language filter plugin

Post by infograf768 » Thu Oct 17, 2019 6:08 am

Looks like your site is working fine in frontend, generally speaking, although very slow loading.
Which version of Joomla are you using? If it is a 3.9.6, it is very obsolete and you should upgrade asap.

I remark that you are using a 3rd party extension Sh404sef which could have an impact on your results.

The code concerned is

Code: Select all

$sef = $this->lang_codes[$this->current_lang]->sef;
Also, to clarify: which module do you try to edit in frontend? Any module or a specific one?
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

usci
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Jul 02, 2012 11:18 am

Re: Language filter plugin

Post by usci » Thu Oct 17, 2019 10:01 am

site in under http://dev.accademia-italiana.it. since it was closed to public (now open)
i had on hover icon to edit module, by click (on slideshow) showed for a little the output
pasted on my previous message then redirect back to home.

right now joomla and all 3rd components are updated. I've tried disabled sh404 but
i still have problem opening template style so assign theme to content and so on.

by now i steel have to try to disable plugin language filter and set back default language
to all .. but suggestion welcome
thank
Anoush


Post Reply

Return to “Language - Joomla! 3.x”