Skip to content

Fix PHP 7.2 warnings#17

Open
watou wants to merge 1 commit into
jdaehne:masterfrom
watou:patch-1
Open

Fix PHP 7.2 warnings#17
watou wants to merge 1 commit into
jdaehne:masterfrom
watou:patch-1

Conversation

@watou

@watou watou commented May 5, 2019

Copy link
Copy Markdown

This is logged when running under PHP 7.2:

[2019-05-05 14:41:38] (ERROR @ /[...]/core/components/googlestorelocator/model/googlestorelocator/googlestorelocator.class.php : 380) PHP warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP)
[2019-05-05 14:41:38] (ERROR @ /[...]/core/components/googlestorelocator/model/googlestorelocator/googlestorelocator.class.php : 381) PHP warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP)

So this fix!

This is logged when running under PHP 7.2:

```log
[2019-05-05 14:41:38] (ERROR @ /[...]/core/components/googlestorelocator/model/googlestorelocator/googlestorelocator.class.php : 380) PHP warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP)
[2019-05-05 14:41:38] (ERROR @ /[...]/core/components/googlestorelocator/model/googlestorelocator/googlestorelocator.class.php : 381) PHP warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP)
```

So this fix!
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.

1 participant