Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 7 deprecated constructor #20

Closed
krogias opened this issue Mar 27, 2016 · 1 comment
Closed

PHP 7 deprecated constructor #20

krogias opened this issue Mar 27, 2016 · 1 comment

Comments

@krogias
Copy link

krogias commented Mar 27, 2016

In Joomla! 3.5 with php7 there's an error:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentembed_google_map has a deprecated constructor in C:...\plugins\content\embed_google_map\embed_google_map.php on line 21

petkivim added a commit that referenced this issue Mar 27, 2016
The constructor of the main plugin file was deprecated in PHP7, because
it had the same name with its class. Fixed renaming the constructor to
"__construct()". #20
@petkivim
Copy link
Owner

Fixed in version 2.0.2.

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

No branches or pull requests

2 participants