Forums
Hi,
I have installed opigno on my local machine and server. On local machine when I enabled the e-commerce app, it worked successfully but on the server when I installed and try to enable the app, I am getting the following error.
Fatal error: Only variables can be passed by reference in /home/getarmd/public_html/opigno/sites/all/modules/commerce/modules/cart/commerce_cart.module on line 1164
I am very much new to Drupal and opigno and have no idea where the error is coming from.
Are you using php 7 on that
Are you using php 7 on that server by any chance?
Drupal 7 is not fully compatible with php 7. You should use php 5.6.
Best regards