- Posts: 77
COMMUNITY FORUM
K2 additional categories and php7
- Bam Bam
- Topic Author
- Offline
- Senior Member
Less
More
7 years 5 months ago #162446
by Bam Bam
K2 additional categories and php7 was created by Bam Bam
Hey everyone,
I hope you can help me, though it's not an error of K2:
Since I updated to php7 I get following error in the frontend:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgK2k2additonalcategories has a deprecated constructor in /plugins/k2/k2additonalcategories/k2additonalcategories.php on line 20
Anybody got that issue, too and maybe a solution how to fix that?
Thanks.
Matthew.
I hope you can help me, though it's not an error of K2:
Since I updated to php7 I get following error in the frontend:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgK2k2additonalcategories has a deprecated constructor in /plugins/k2/k2additonalcategories/k2additonalcategories.php on line 20
Anybody got that issue, too and maybe a solution how to fix that?
Thanks.
Matthew.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 5 months ago #162456
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 additional categories and php7
Hello Mathew,
Is the extension on Github or a similar platform so we can provide a patch?
Is the extension on Github or a similar platform so we can provide a patch?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Wilfried
- Offline
- Junior Member
Less
More
- Posts: 22
6 years 2 months ago #168933
by Wilfried
Replied by Wilfried on topic K2 additional categories and php7
Hello,
I have the same issue that Bam Bam.
I have a message in the backoffice : "ALERT - Version of php...". In the configuration, I put the "Error report" to the maximum and in the frontend, I saw that it was the plugin K2 additional categories.fault : "Notice: Only variables should be assigned by reference in /home/cryptosey/www/plugins/k2/k2additonalcategories/k2additonalcategories.php on line 49".
Do you have any idea because it seems that this plugin has no update since a long time ago?
PS : sorry for my english, I'm french.
Thank you.
I have the same issue that Bam Bam.
I have a message in the backoffice : "ALERT - Version of php...". In the configuration, I put the "Error report" to the maximum and in the frontend, I saw that it was the plugin K2 additional categories.fault : "Notice: Only variables should be assigned by reference in /home/cryptosey/www/plugins/k2/k2additonalcategories/k2additonalcategories.php on line 49".
Do you have any idea because it seems that this plugin has no update since a long time ago?
PS : sorry for my english, I'm french.
Thank you.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 2 months ago #168940
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic K2 additional categories and php7
Switch error reporting back to "Default" or "None" in Joomla's Global Configuration settings.
Then go to Extensions > Plugins and search for "php". Locate and disable the plugin called "Quick Icon - PHP Version Check" and you're done.
Then go to Extensions > Plugins and search for "php". Locate and disable the plugin called "Quick Icon - PHP Version Check" and you're done.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Wilfried
- Offline
- Junior Member
Less
More
- Posts: 22
6 years 2 months ago #168943
by Wilfried
Replied by Wilfried on topic K2 additional categories and php7
Nice, it works.
Thank you very much Fotis. So, the plugin K2 additional categories it isn't incorrect?
Thank you very much Fotis. So, the plugin K2 additional categories it isn't incorrect?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 2 months ago #168964
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic K2 additional categories and php7
What do you mean when you say "incorrect"?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Wilfried
- Offline
- Junior Member
Less
More
- Posts: 22
6 years 2 months ago #168965
by Wilfried
Replied by Wilfried on topic K2 additional categories and php7
Sorry. The meaning is : is k2 additional categories not the one who cause the problem? And if it does, do you think it might be a serious problem for my website?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 2 months ago #169038
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic K2 additional categories and php7
These are just PHP warnings. Yes, they come from the extension "Additional Categories for K2" (file /plugins/k2/k2additonalcategories/k2additonalcategories.php) but you can just hide them from the Global Configuration options in Joomla. You can also contact its developer to fix these warnings as they may be hidden in the frontend, but eventually they may fill up log files, especially in sites with lots of traffic.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.