Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 05 Dec 2018, 21:53
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Real name: Len Kaiser
PHP Warning After Move To New Host

I'm getting the following warning after moving my websites to a new host when I try to save a template after editing it. The old host was running PHP 5.6, the new one is running PHP 7.2.12.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Here is what is in that part of the file.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I can edit templates but it will not show the edits on the site. Any help would be great.
Reply With Quote
  #2  
Old 05 Dec 2018, 22:19
shka shka is online now
 
Join Date: Mar 2016
One of the changes from php 7.1 => 7.2 http://php.net/manual/en/migration72.incompatible.php
Warn when counting non-countable types
An E_WARNING will now be emitted when attempting to count() non-countable types (this includes the sizeof() alias function).

Try


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In php 7.3 there will be a is_countable() function. https://wiki.php.net/rfc/is-countable

But vB4 isn't compatible with php7.2. So this will be only the starting point of a never ending error-solution-error-warning-error...circle. Go back to 7.1 if possible.

Last edited by shka; 05 Dec 2018 at 22:31.
Reply With Quote
  #3  
Old 05 Dec 2018, 22:50
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Real name: Len Kaiser
Thanks for the info the code worked. I have not seen any other warnings or errors so far. I'm on shared hosting so I may not be able to go backwards on PHP.
Reply With Quote
  #4  
Old 10 Dec 2018, 08:03
Wisc Wisc is offline
 
Join Date: Aug 2009
HM666 are you on godaddy?

Getting same junk.
You can choose the php version in the control panel (of godaddy) i think myphp
Reply With Quote
  #5  
Old 10 Dec 2018, 10:24
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Real name: Len Kaiser
Originally Posted by Wisc View Post
HM666 are you on godaddy?

Getting same junk.
You can choose the php version in the control panel (of godaddy) i think myphp
Nope have not used GoDaddy in years for hosting. I'm on Bluehost, but I have since had this situation solved by the host.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:53.

Layout Options | Width: Wide Color: