UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

Error: 0 round(): Argument #1 ($num) must be of type int|float, string given

Bernt-Uwe Berwing & Markus Berwing GbR · ·
2:40 AM Thursday, 15 September 2022
High
In PayPlans - Settings - General:
Decimal Separator is Comma (,)


Plans:

New Plan

Regular Price: If I use comma (let's say 24,99) I do get error:

An error has occurred.
0 round(): Argument #1 ($num) must be of type int|float, string given
Return To Dashboard


And if I navigate back to the Plans, I always get same error and I am not longer able
to access any of my existing plans and cannot bypass the error being stucked in the application.


The only solution to fix the issue is to connect to MySQL DB and table xyz_payplans_plan
and manually delete the row for the problematic plan in question.


While the price for the plans in the plan overview are correctly listed in format decimal separator with comma,
the same field for regular price in detail view is showing the dot (.)


Bottom line:
I am expecting to use comma based on Settings in General and also see the comma in the corresponding field

To me this is a bug.
The replies under this section are restricted to logged in users or users with an active subscription with us