PHP 7 Compatibility
Rate this topic: 




1.00 out of 6 based on 1 vote(s)






- GK User
- Sat May 28, 2016 8:02 am
- Reply with quote
- Report this post
I am unable to operate a couple of sites using this template on anything over php 5.5. I am trying to use cloudlinux to switch all sites on my server to php 7. Will this template ever be compatible with php 7 ?
-
- Expert Boarder
- teitbite
- Wed Jun 01, 2016 10:23 am
- Reply with quote
- Report this post
Hi
This template is still supported. Please tell me what problems do You have after PHP update. I believe some errors are shown. Please copy it here.
This template is still supported. Please tell me what problems do You have after PHP update. I believe some errors are shown. Please copy it here.
-
- Moderator
- GK User
- Wed Jun 01, 2016 11:00 am
- Reply with quote
- Report this post
This is what it is currently showing with PHP 5.6
Deprecated: Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in /home/bsnfpcom/public_html/templates/gk_cloudhost/lib/framework/helper.layout.php on line 149
Deprecated: Non-static method JApplicationCms::getMenu() should not be called statically, assuming $this from incompatible context in /home/bsnfpcom/public_html/libraries/cms/application/site.php on line 272
Deprecated: Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in /home/bsnfpcom/public_html/templates/gk_cloudhost/lib/framework/helper.layout.php on line 149
Deprecated: Non-static method JApplicationCms::getMenu() should not be called statically, assuming $this from incompatible context in /home/bsnfpcom/public_html/libraries/cms/application/site.php on line 272
-
- Expert Boarder
- GK User
- Wed Jun 01, 2016 11:44 am
- Reply with quote
- Report this post
The site gives that error on any version over 5.5 up to 7.06
-
- Expert Boarder
- teitbite
- Fri Jun 03, 2016 10:52 am
- Reply with quote
- Report this post
Hi
This message means that function is being loaded multiple times, but this should not affect the work of a website. Do You have any problems except those messages ? Because if everything works than You should just set showing errors to None in global joomla configuration in joomla panel. That's something even joomla developers advice to do.
This message means that function is being loaded multiple times, but this should not affect the work of a website. Do You have any problems except those messages ? Because if everything works than You should just set showing errors to None in global joomla configuration in joomla panel. That's something even joomla developers advice to do.
-
- Moderator
- GK User
- Fri Jun 03, 2016 11:08 am
- Reply with quote
- Report this post
Hi Teitbite
I already have error reporting set to none. That's something I do on every site anyway.
I already have error reporting set to none. That's something I do on every site anyway.
-
- Expert Boarder
- teitbite
- Mon Jun 06, 2016 11:57 am
- Reply with quote
- Report this post
Hi
Ok. Please send me an url to the site and ftp access. I'll fix it.
Ok. Please send me an url to the site and ftp access. I'll fix it.
-
- Moderator
- GK User
- Wed Jun 15, 2016 9:22 am
- Reply with quote
- Report this post
Sorry Teitbite, I didn't get an email notification for your post. the site is http://bsnfp.com.au
Can you please let me know what needs to be done, I'll go in and fix it.
I'm also getting the same issue on a site using Mo template - I'll post there
Can you please let me know what needs to be done, I'll go in and fix it.
I'm also getting the same issue on a site using Mo template - I'll post there
-
- Expert Boarder
- teitbite
- Fri Jun 17, 2016 5:27 pm
- Reply with quote
- Report this post
Hi
I cannot find it on Your website right now, and I would definitely won't be able to fix it without FTP access, so please just edit file:
/templates/gk_cloudhost/lib/framework/helper.layout.php
and put char @ in front of line 149
/libraries/cms/application/site.php and put char @ in front of line 272
I cannot find it on Your website right now, and I would definitely won't be able to fix it without FTP access, so please just edit file:
/templates/gk_cloudhost/lib/framework/helper.layout.php
and put char @ in front of line 149
/libraries/cms/application/site.php and put char @ in front of line 272
-
- Moderator
- GK User
- Sat Jun 18, 2016 7:55 am
- Reply with quote
- Report this post
THanks mate.
Yeah because the site was live I could not afford to have it running php 7 now. I'll give the fix a try.
Yeah because the site was live I could not afford to have it running php 7 now. I'll give the fix a try.
-
- Expert Boarder
- teitbite
- Mon Jun 20, 2016 2:27 pm
- Reply with quote
- Report this post
Hi
This method will surely block a display of the message, but it's strange that it was not hidden with even joomla error showing option. Let me know if it worked as I expected.
This method will surely block a display of the message, but it's strange that it was not hidden with even joomla error showing option. Let me know if it worked as I expected.
-
- Moderator
- GK User
- Mon Jun 20, 2016 6:08 pm
- Reply with quote
- Report this post
A couple of other scripts or sites do the same; displaying these warnings even though error reporting is set to none.
But it worked, cheers.
But it worked, cheers.
-
- Expert Boarder
- teitbite
- Wed Jun 22, 2016 1:21 pm
- Reply with quote
- Report this post
Hi
I do not know why this errors are different. Probably newest PHP does not support "Deprecated" tag or does not threat it as an error.
Ok, since it's resolved I'm closing this thread.
I do not know why this errors are different. Probably newest PHP does not support "Deprecated" tag or does not threat it as an error.
Ok, since it's resolved I'm closing this thread.
-
- Moderator
13 posts
• Page 1 of 1