This is the error message we get on a page generated form a menu item using Web Links > List Web Links in a Category:

Warning: Creating default object from empty value in /home/milfordu3a/public_html/components/com_weblinks/views/category/tmpl/default_items.php on line 17

This is for php vn. 7.4.9 and Joomla vn. 3.9.20

Is there a fix for this?

  • 2
    Weblinks has been decoupled from Joomla and it now maintained separately. Try installing the latest version: github.com/joomla-extensions/weblinks/releases
    – Lodder
    Aug 24 '20 at 7:19
  • Also, set error reporting to none on the production site.
    – FFrewin
    Aug 24 '20 at 10:26
  • The version of com_weblinks is probably more important than php or Joomla versions here. In any case, the view you reference has not been updated in at least 3+ years - github.com/joomla-extensions/weblinks/blame/master/src/… - so I suspect you are using an archaic version of the component. Update the component and see how that goes.
    – Grant G
    Aug 24 '20 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.