Admin
Creating or modifying a tag via com_tags and Save
Error:
Too few arguments to function PlgContentJoomla::onContentBeforeSave(), 3 passed in /joomla-cms/libraries/src/Plugin/CMSPlugin.php on line 287 and exactly 4 expected
Front
These Menu Types created:
Compact list of tagged items
Tagged Items
List of all tags
Error:
Class 'Joomla\Component\Tags\Site\Model\TagsHelperRoute' not found
PS : I guess this should be
Joomla\Component\Tags\Site\Helper\TagsHelperRoute
PHP 7.2.5
Nightly Build: Sunday, 13 January 2019 (update package)
No use. This has not been closed in order to also correct this error. :)
OK.
The file to correct is
.../components/com_tags/tmpl/tags/default_items.php
Adding
use Joomla\Component\Tags\Site\Helper\TagsHelperRoute;
should solve it.
@infograf768
I tried this, it doesn't work, otherwise I would have made a pull request.
BTW: I would not test anything on an "Updated" 4.0. I always test on the branch after running npm ci
True that my test site with composer and npm was several updates behind.
Corrected.
This solution doesn't work on front-end.
But maybe we should hold this off until the menu system is fully functional and com_tags itself is corrected because there are still some bugs.
@ghazal closing this Issue?
Status | New | ⇒ | Information Required |
Yes. Sorry.
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-04 18:26:22 |
Closed_By | ⇒ | ghazal |
Concerning: "Creating or modifying a tag via com_tags and Save. Error:...."
Test #23531 please.