support

Author Topic: extensions fail php 7.3  (Read 9854 times)

natdroid

  • Guest
extensions fail php 7.3
« on: January 10, 2019, 08:37:45 AM »
hi. i have six extensions stop working with AbanteCart php 7.3

config.xml
Code: [Select]
<item id="go_category">
      <type>multiselectbox</type>
          <variants>
      <data_source>
      <model_rt>catalog/category</model_rt>
      <method>getCategories</method>
      </data_source>
      <fields>
      <field>category_id</field>
      <field>name</field>
      </fields>
      </variants>
      </item>


call the mother abantecart function https://github.com/abantecart/abantecart-src/blob/master/public_html/admin/model/catalog/category.php#L221


but php 7.3 fatal error

Code: [Select]
Too few arguments to function ModelCatalogCategory::getCategories(), 0 passed in /admin/controller/pages/extension/extensions.php on line 433
 and at least 1 expected in <b>/admin/model/catalog/category.php</b> on line <b>221</b>


https://github.com/abantecart/abantecart-src/blob/master/public_html/admin/controller/pages/extension/extensions.php#L433


ASPAP client want to kill me . ****** help how to fix


Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2063
  • Karma: +325/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: extensions fail php 7.3
« Reply #1 on: January 10, 2019, 09:57:42 AM »
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod