User tests: Successful: Unsuccessful:
Pull Request for Issue #15401 .
Simple fix to prevent the message Warning Error loading component: com_fields, Component not found.
from showing.
It doesn't necessary fix the potential underlying issue that com_fields isn't installed
If you got that message after updating, apply this PR and the message is gone
None
Status | New | ⇒ | Pending |
Category | ⇒ | Modules Administration |
In oder to fix the drone error and the comment by michael what about using: $fields = JComponentHelper::isInstalled('com_fields') && JComponentHelper::isEnabled('com_fields');
And later: if ($fields && JComponentHelper::getParams('com_users')->get('custom_fields_enable', '1'))
or if ($fields && JComponentHelper::getParams('com_content')->get('custom_fields_enable', '1'))
Labels |
Added:
?
|
Done. I've chosen a different variable name so it's more clear.
I have tested this item
Seems to have fixed the message that appears after updating.
I have tested this item
Milestone |
Added: |
||
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
RTC
yes @rdeutz
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-04-23 07:56:05 |
Closed_By | ⇒ | rdeutz | |
Labels |
I did the production upgrade to 3.7.0 from 3.6.5 and I have this warning on my admin console. The update was delivered using the Joomla Updater - I am not a developer so not sure if this issue was expected in 3.7.0 production or how to resolve it.
Ditto to Mcintyro above "production upgrade to 3.7.0 from 3.6.5"
Coupled with this I suspect FlexiContent is also problmatic with new com_fields behavior Basically I cannot find any "com_fields" but Joomla keeps giving the error:
Warning
Error loading component: com_fields, Component not found.
Can you do this so
JComponentHelper::isInstalled('com_fields')
is only called once?JComponentHelper::isInstalled()
doesn't cache results so this in effect is adding two duplicate database queries to every admin page load right now, putting it in a variable at least brings it down to one non-duplicate (at least generated by this source).