In my server's error_log file I see similar error reports like the one given below:
[07-Jul-2015 03:06:20 America/Chicago] PHP Fatal error: Call to a member function getItemTags() on a non-object in /home/[username]/public_html/[joomla_dir]/templates/beez3/html/com_weblinks/category/default_items.php on line 132
Labels |
Added:
?
|
Just for reference (before too much time is spent on a PR), it was decided that weblinks stuff that was "owned" by the template would stay in the repo as it's a template specific thing (overrides, CSS rules, etc.). So, the fix here needs to be ensuring the overrides are working correctly with the current weblinks code, and if for some reason that code is getting triggered without using the weblinks component, figure out WTF is calling it and fix that problem too.
@mbabker Got it!
Actually I was wondering the same: the override should not be called at all if the component is not installed in the first place, so I'm starting to think that something has changed in the "enucleated" component that render the (old) override incompatible.
@aaleksanyants can you confirm that you have Weblinks installed in your site?
Category | ⇒ | Templates (site) |
... and in my test site (Weblinks not installed) I'm not seeing that error for none of the menu items I have configured (not exhaustive but fairly complete)
@aaleksanyants can you figure out for which menu item you are getting that error?
Unfortunately I cannot provide any additional information because I did not get it online by myself, I just provided the content of my error_log file...
... but do you have Weblinks installed in your site?
Yes I have, it remains there from v. 2.5...
moreover, its language files are still included in current joomla version...
@mbabker Michael, am I correct assuming that a 2.5 installation upgraded to current code has weblinks automatically upgraded to latest code?
@smz no atm it is absulutly broken. On of the issues you can find here: joomla-extensions/weblinks#25
There is a RC Version (https://github.com/joomla-extensions/weblinks/releases/tag/3.4.1-rc2) but no final package packaged to fix it.
Thanks, @zero-24 !
So, if I'm getting it right...
The behavior described in this issue is somehow expected because with Joomla! update we deliver an updated Beez override which is not compatible with old Weblinks code.
Automatic Weblinks update is not performed
In theory it should be updated via "Extension Manager" -> "Update", but...
Code delivered that way is neither compatible, and...
New compatible code is only available by manually installing the RC version from https://github.com/joomla-extensions/weblinks/releases/tag/3.4.1-rc2
Is that the "state of things"?
Is that the "state of things"?
Yes the "state of things" but not expected. If the PLT release a new final version we use the normal updater for weblinks too.
The behavior described in this issue is somehow expected because with Joomla! update we deliver an updated Beez override which is not compatible with old Weblinks code.
I'm not sure as the line is also there in the new repo:
https://github.com/joomla-extensions/weblinks/blob/master/src/com_weblinks/site/views/category/tmpl/default_items.php#L131
But If you can reproduce this please try to install the RC Version and test again. If there is still the same issue we need to fix it in the new repo to include it with the next final version.
For the beez overrides I'm not sure how the PLT try to handle it.
The last state i remember we will not ship it with the extension. So if the issue is at the beez overrides only we need to fix the CMS if it is in the weblinks code than there ;)
OK, I'll try and see if I can reproduce this...
Now, if I'm not mistaken, this should be something happening between Joomla! 3.0 (first version with Beez3) and 3.4.0 (first version without Weblinks).
Joomla 2.5 should not be involved as at the time we had Beez5 and Beez_20, right?
First test results:
The involved line has been added with commit b4f4143 on 24 Jun 2013 and thus introduced with Joomla! 3.1.2
At this point I really don't know what else I can do for trying to trigger that error...
I'm just wondering what @aaleksanyants update path has been... Directly from 2.5 to 3.4.3 and then switched to the Beez3 template? I'm afraid I should test that too...
Guys, it's getting harder and harder...
moreover, its language files are still included in current joomla version...
That is normal as there is no way for now to get specific weblinks language packs per language. Therefore it was decided to let these in current core (so they are included in core language packs) although they may not be used by people not installing weblinks.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-03-10 14:20:46 |
Closed_By | ⇒ | brianteeman |
I am going to close this at this time. Pretty certain that it is the result of having an outdated version of weblinks and that component has now been updated and would show up in the list if extensions to update. It can always be reopened if thats not the case.
confirmed: a remnant of Weblinks... must be eliminated.
A PR is on its way...Edit: Wrong: this is in an override for com_weblinks so it is perfectly legit (in theory...)