Jump to content

Blesta allowed changes to input parameters that caused a bug


John Heenan

Recommended Posts

I replaced the three default 5% markups in TLD Sync with nothing instead of 0 (to be interpreted as 0). If this was an issue, I would have expected Blesta to complain or replace them with 0. It didn't.

After this TLD sync failed to work and errors such as following were generated:

general. ERROR log reports:

2022-12-18T09:23:54.705204+00:00] general.ERROR: Uncaught Exception TypeError: "Unsupported operand types: string / float" at ....../blesta/plugins/domains/lib/tld_sync.php line 141 {"exception":"[object] (TypeError(code: 0): Unsupported operand types: string / float at ....../blesta/plugins/domains/lib/tld_sync.php:141)"}

 

Blesta version: 5.6.0-b2

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...