News:

AbanteCart v1.4.2.1 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

extensions fail php 7.3

Started by natdroid, January 10, 2019, 08:37:45 AM

Previous topic - Next topic

natdroid

hi. i have six extensions stop working with abante php 7.3

config.xml
<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

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


abolabo


Forum Rules Code of conduct
AbanteCart.com 2010 -