Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

empty table causes error is columns settings in us
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: empty table causes error is columns settings in us
#42792
empty table causes error is columns settings in us 10 Years, 11 Months ago Karma: 0
Hi,
I have a table showing numbers in one column, so I have to align this column on the right, choosing "columns settings" in the ARI module.

The problem is that if the table returns 0 results, I get the error "Warning: array_keys() expects parameter 1 to be array, null given in C:\wamp\www\<MYSITE>\modules\mod_aridatatables\includes\kernel\DataTables\class.DataTables.php on line 192".
The error does not happen if I do NOT set the column alignment, so I currently need to get them aligned on the left in order to avoid this error.

What is the solution to get the column properly aligned and avoid the error when there is no data to show?

Thanks

Mauro
The administrator has disabled public write access.
 
#42796
Re:empty table causes error is columns settings in us 10 Years, 11 Months ago Karma: 748
Hello,

Could you send screenshot(s) of module settings page by email?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#42819
Re:empty table causes error is columns settings in us 10 Years, 11 Months ago Karma: 748
Download and upgrade the module. It should help.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#42830
Re:empty table causes error is columns settings in us 10 Years, 11 Months ago Karma: 0
it DOES help. Thanks!
The administrator has disabled public write access.
 
Go to topPage: 1