Shopping Basket


 x 

Cart empty


Log In

Find Us Elsewhere

Forum Search

Keyword

VM Mod Controller Pro Broken In PHP 7

  • evolution
  • evolution's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 1 month ago - 1 year 1 month ago #3601 by evolution
evolution created the topic: VM Mod Controller Pro Broken In PHP 7
Hi

I am using the current download but I am unable to move sites using this module to php 7 and must use 5.6.

These are the errors I'm seeing:

Deprecated: Non-static method modVMModControllerProHelper::loadModuleById() should not be called statically in /home/#/public_html/modules/mod_vm2_modcontroller_pro/mod_vm2_modcontroller_pro.php on line 33

Deprecated: Non-static method modVMModControllerProHelper::checkRender() should not be called statically in /home/#/public_html/modules/mod_vm2_modcontroller_pro/mod_vm2_modcontroller_pro.php on line 34

Deprecated: Non-static method modVMModControllerProHelper::getCategory() should not be called statically in /home/#/public_html/modules/mod_vm2_modcontroller_pro/helper.php on line 83

Deprecated: Non-static method modVMModControllerProHelper::getView() should not be called statically in /home/#/public_html/modules/mod_vm2_modcontroller_pro/helper.php on line 84

Deprecated: Non-static method modVMModControllerProHelper::renderModule() should not be called statically in /home/#/public_html/modules/mod_vm2_modcontroller_pro/mod_vm2_modcontroller_pro.php on line 41
logo mobile

Deprecated: Non-static method modVMModControllerProHelper::loadModuleById() should not be called statically in /home/#/public_html/modules/mod_vm2_modcontroller_pro/mod_vm2_modcontroller_pro.php on line 33

Deprecated: Non-static method modVMModControllerProHelper::checkRender() should not be called statically in /home/#/public_html/modules/mod_vm2_modcontroller_pro/mod_vm2_modcontroller_pro.php on line 34

Deprecated: Non-static method modVMModControllerProHelper::getCategory() should not be called statically in /home/#/public_html/modules/mod_vm2_modcontroller_pro/helper.php on line 83

Deprecated: Non-static method modVMModControllerProHelper::getView() should not be called statically in /home/#/public_html/modules/mod_vm2_modcontroller_pro/helper.php on line 84

Deprecated: Non-static method modVMModControllerProHelper::renderModule() should not be called statically in /home/#/public_html/modules/mod_vm2_modcontroller_pro/mod_vm2_modcontroller_pro.php on line 41
Last Edit: 1 year 1 month ago by evolution. Reason: include module name

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #3603 by boggler
boggler replied the topic: VM Mod Controller Pro Broken In PHP 7
Hello, actually these are not errors, they are just messages saying that an element in the coding style is a bit out-dated, which it is, the module has been around for a while. They will not stop the module from working in PHP 7, they are just a bit annoying to see. If you want to stop seeing them then then turn off your error reporting in your site configuration (it should not be turned on in a live site anyway).

However thanks for drawing our attention to this, we will clear up the coding style and make a new release shortly.

Please Log in or Create an account to join the conversation.

  • evolution
  • evolution's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 1 month ago - 1 year 1 month ago #3604 by evolution
evolution replied the topic: VM Mod Controller Pro Broken In PHP 7
Hi

I do have error reporting selected to none.
Last Edit: 1 year 1 month ago by evolution.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #3605 by boggler
boggler replied the topic: VM Mod Controller Pro Broken In PHP 7
We have updated the module to version 2.0.1, which should not generate these messages.

Please Log in or Create an account to join the conversation.

  • evolution
  • evolution's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 1 month ago #3609 by evolution
evolution replied the topic: VM Mod Controller Pro Broken In PHP 7
Thank you for this and kudos on the fast turn around - great work!

Please Log in or Create an account to join the conversation.

Moderators: boggler
Time to create page: 0.231 seconds