- Posts: 2
COMMUNITY FORUM
K2 +PHP7
- Anthony Walker
- Topic Author
- Offline
- New Member
Less
More
8 years 5 months ago #152877
by Anthony Walker
K2 +PHP7 was created by Anthony Walker
K2 component does not like PHP7. Sends lots of error messages about deprecated functions etc
If you are upgrading PHP please be aware. I went to PHP 5.6 meantime
If you are upgrading PHP please be aware. I went to PHP 5.6 meantime
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 5 months ago #152883
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 +PHP7
Please look at this:
github.com/getk2/k2/commit/5dc22b8b4e3b255b8f346cde4b2d463a14c18919
and:
github.com/getk2/k2/commit/65979d44bf68c1b4322525786c99e9f01d76687c
K2 is fully compatible with PHP7
github.com/getk2/k2/commit/5dc22b8b4e3b255b8f346cde4b2d463a14c18919
and:
github.com/getk2/k2/commit/65979d44bf68c1b4322525786c99e9f01d76687c
K2 is fully compatible with PHP7
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Anthony Walker
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
8 years 5 months ago - 8 years 5 months ago #152890
by Anthony Walker
Replied by Anthony Walker on topic K2 +PHP7
Sorry I won't ask or put anything in here again. One look at that code is enough to scare anyone off. Joomla is meant to be a language where very little code is needed. I haven't got the slightest idea what you just tried to tell me. All I see is hundreds of lines of code. If these are errors that need fixed then forget it.
Last edit: 8 years 5 months ago by Anthony Walker. Reason: addition
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 5 months ago #152904
by Krikor Boghossian
Have you looked at Joomla!'s repo?
You can grab the DEV version where these fixes have been applied.
github.com/getk2/k2/archive/master.zip
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 +PHP7
Joomla is meant to be a language where very little code is needed.
Have you looked at Joomla!'s repo?
You can grab the DEV version where these fixes have been applied.
github.com/getk2/k2/archive/master.zip
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Alex
- Offline
- Junior Member
Less
More
- Posts: 35
8 years 5 months ago #152929
by Alex
Replied by Alex on topic K2 +PHP7
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 5 months ago - 8 years 5 months ago #152960
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 +PHP7
Hello,
Did you apply the patches or are you using the 2.7.1 DEV version - github.com/getk2/k2/archive/master.zip ?
Did you apply the patches or are you using the 2.7.1 DEV version - github.com/getk2/k2/archive/master.zip ?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 8 years 5 months ago by Krikor Boghossian.
Please Log in or Create an account to join the conversation.
- Alex
- Offline
- Junior Member
Less
More
- Posts: 35
8 years 5 months ago - 8 years 5 months ago #153001
by Alex
Replied by Alex on topic K2 +PHP7
I used the Joomla Update Manager, in Joomla 3.5, to update from K2 2.6.9 to 2.7.0.
I did nothing manually.
I did nothing manually.
Last edit: 8 years 5 months ago by Alex.
Please Log in or Create an account to join the conversation.
- Alex
- Offline
- Junior Member
Less
More
- Posts: 35
8 years 5 months ago - 8 years 5 months ago #153006
by Alex
Replied by Alex on topic K2 +PHP7
Can i hide these warnings somehow? In joomla i have deactivated error reporting.
Last edit: 8 years 5 months ago by Alex.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 5 months ago #153064
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 +PHP7
Can you install the DEV version and see if that solves the issue?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- piet
- Offline
- Premium Member
Less
More
- Posts: 83
8 years 5 months ago - 8 years 5 months ago #153242
by piet
Replied by piet on topic K2 +PHP7
Hello,
for me I think it was better. I just installed the dev version.
No more problem in the backend, but still have problem in frontend :
If you have a idea...?
Thank you.
update: no, sorry but same problem in the backend too...
for me I think it was better. I just installed the dev version.
No more problem in the backend, but still have problem in frontend :
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJw_sigpro has a deprecated constructor in /www/plugins/content/jw_sigpro/jw_sigpro.php on line 19
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJw_allvideos has a deprecated constructor in /www/plugins/content/jw_allvideos/jw_allvideos.php on line 18
If you have a idea...?
Thank you.
update: no, sorry but same problem in the backend too...
Last edit: 8 years 5 months ago by piet.
Please Log in or Create an account to join the conversation.