splitbrain / dokuwiki-plugin-translation

Easily setup a multi-language DokuWiki
http://www.dokuwiki.org/plugin:translation
23 stars 24 forks source link

Error message "undefined method helper_plugin_translation::getTransItem()" after update #280

Open Juergen-aus-Zuendorf opened 1 year ago

Juergen-aus-Zuendorf commented 1 year ago

Hi, after updating to the current version, I get the following error message when I open a translated page:

2023-02-02 08:16:00
Error: Call to undefined method helper_plugin_translation::getTransItem()
/var/www/html/wiki/lib/tpl/bootstrap3/tpl/translation.php(31)
#0 /var/www/html/wiki/lib/tpl/bootstrap3/tpl/navbar.php(89): include_once()
#1 /var/www/html/wiki/lib/tpl/bootstrap3/main.php(51): require_once('/var/www/html/w...')
#2 /var/www/html/wiki/inc/actions.php(27): include('/var/www/html/w...')
#3 /var/www/html/wiki/doku.php(126): act_dispatch()
#4 {main}

I've posted the same issue at the bootstrap3 template page: #584

Regards Juergen

splitbrain commented 1 year ago

Hmm I thought about readding the function, as a wrapper around the new prepareLanguageSelectorItem(), but the output would differ and require changes in the template code anyway, so it's probably better for template authors to directly use prepareLanguageSelectorItem() anyway...

tobiasd commented 1 year ago

I'm seeing the same error message after updating to Jack Jackrum. I applied https://github.com/giterlizzi/dokuwiki-template-bootstrap3/commit/e01e4012c2edb8ef3007d517417af0dbfbe5c579 which seems to do the trick.

LouisOuellet commented 10 months ago

Is there a way within dokuwiki to change the branch for the updates?