Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Warning: get_class() expects parameter 1 to be object, null given #9

Closed
buskamuza opened this issue Dec 22, 2017 · 2 comments
Closed

Comments

@buskamuza
Copy link
Contributor

buskamuza commented Dec 22, 2017

Important: Use libs-upgrade branch as base for this task and as target for the PR.

Warning: get_class() expects parameter 1 to be object, null given on PHP 7.2

@buskamuza buskamuza changed the title Fix usage of get_class() Warning: get_class() expects parameter 1 to be object, null given Dec 22, 2017
@YevSent
Copy link
Contributor

YevSent commented Feb 1, 2018

@buskamuza, could you clarify where exactly this warning appears? There are about 300 occurrences of get_class() usage in Magento code.

@centerax
Copy link
Contributor

I cannot replicate, see here https://gist.github.com/centerax/6b6423d8913b6701e6bbfb6076f70d41

#distributed-cd

magento-engcom-team pushed a commit that referenced this issue Jun 15, 2018
[Backport] [Resolved : limiter float too generic]
magento-engcom-team pushed a commit that referenced this issue Aug 9, 2018
[Forwardport] Removed double occurrences from files.
magento-engcom-team pushed a commit that referenced this issue Aug 15, 2018
magento-engcom-team pushed a commit that referenced this issue Dec 7, 2018
magento-engcom-team pushed a commit that referenced this issue Mar 25, 2019
magento-engcom-team pushed a commit that referenced this issue Mar 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants