Skip to content

Fix warnings in layouts on PHP 7.4#27273

Merged
HLeithner merged 1 commit intojoomla:stagingfrom
SharkyKZ:j3/php74/default-object
Dec 18, 2019
Merged

Fix warnings in layouts on PHP 7.4#27273
HLeithner merged 1 commit intojoomla:stagingfrom
SharkyKZ:j3/php74/default-object

Conversation

@SharkyKZ
Copy link
Copy Markdown
Contributor

Pull Request for Issue #27259.

Summary of Changes

Removes some misplaced code.

Testing Instructions

Create Article Category List menu item and Featured Contacts menu items. View them in frontend.

Expected result

No warnings.

Actual result

Warning: Creating default object from empty value

Documentation Changes Required

No.

@brianteeman
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on 797d019


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27273.

1 similar comment
@viocassel
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on 797d019


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27273.

@SharkyKZ
Copy link
Copy Markdown
Contributor Author

RTC.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27273.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Dec 16, 2019
@HLeithner HLeithner added this to the Joomla! 3.9.15 milestone Dec 16, 2019
@HLeithner HLeithner merged commit 78c5c84 into joomla:staging Dec 18, 2019
@HLeithner
Copy link
Copy Markdown
Member

Thanks

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Dec 18, 2019
@hcherter
Copy link
Copy Markdown

Hello,
I'm using Joomla 3.9.16 with PHP 7.4.2. I still get these warnings "Warning: Creating default object from empty value in...".
Question: Is this fix already commited/released or can you estimate when it will be committed/released?
Thanks for a feedback.

@zero-24
Copy link
Copy Markdown
Contributor

zero-24 commented Apr 13, 2020

Hi this has been fixed an released by 3.9.15 please open a new issue with your warning including the file and complete message so we can investigate.

Harmageddon added a commit to Harmageddon/weblinks that referenced this pull request Mar 28, 2021
Similar to joomla/joomla-cms#27273

Fixes joomla-extensions#433.

This PR fixes PHP warnings for the weblinks category view.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants