Author Topic: Template Engine Array Issue  (Read 4068 times)

Offline www.PiShop.co.za

  • Newbie
  • *
  • Posts: 31
  • Karma: +7/-0
    • View Profile
Template Engine Array Issue
« on: April 19, 2016, 05:11:32 PM »
Im seeing thousands of these errors in my error log:
2016-04-19 23:10:18 - warning: AbanteCart core v.1.2.6 in_array() expects parameter 2 to be array, null given in <b>/home/user/public_html/store/core/engine/extensions.php</b> on line <b>835</b>

anybody know what that is and what could be causing it?

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Template Engine Array Issue
« Reply #1 on: April 20, 2016, 08:49:28 AM »
Looks like some extension causing this warning. What extensions do you have installed?
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Template Engine Array Issue
« Reply #2 on: April 20, 2016, 11:44:48 AM »
we already fixed this issue in v1.2.7
You can try to replace your file core/engine/extensions.php with this https://raw.githubusercontent.com/abantecart/abantecart-src/1.2.7/public_html/core/engine/extensions.php
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline www.PiShop.co.za

  • Newbie
  • *
  • Posts: 31
  • Karma: +7/-0
    • View Profile
Re: Template Engine Array Issue
« Reply #3 on: April 28, 2016, 02:43:58 AM »
Thanks, I'll try the file replacement this evening (during the store's quite time) and let you know how it goes.

 

Powered by SMFPacks Social Login Mod