kmenigoz Posted April 9, 2022 Report Posted April 9, 2022 On "admin/plugin/domains/admin_domains/tlds" page, selecting any number of TLDs to update, never completes. Looking into console, "admin/plugin/domains/admin_domains/tlds/" is being called via XHR and results in an error. Something went wrong. trim() expects parameter 1 to be string, object given. trim() expects parameter 1 to be string, object given on line 276 in /**hidden**/app/models/currencies.php UnknownException::setErrorHandler Line 232 /**hidden**/vendors/monolog/monolog/src/Monolog/ErrorHandler.php array(5) { [0]=> int(2) [1]=> string(53) "trim() expects parameter 1 to be string, object given" [2]=> string(66) "/**hidden**/app/models/currencies.php" [3]=> int(276) [4]=> array(5) { ["value"]=> object(stdClass)#653 (0) { } ["currency"]=> string(3) "USD" ["company_id"]=> string(1) "1" ["decimals"]=> int(4) ["formats"]=> &array(1) { ["USD"]=> array(1) { [1]=> object(stdClass)#1104 (8) { ["code"]=> string(3) "USD" ["company_id"]=> string(1) "1" ["format"]=> string(8) "#,###.##" ["precision"]=> string(1) "2" ["prefix"]=> string(1) "$" ["suffix"]=> string(0) "" ["exchange_rate"]=> string(8) "1.000000" ["exchange_updated"]=> string(19) "2022-04-09 22:46:45" } } } } } Monolog\ErrorHandler->handleError Line trim() expects parameter 1 to be string, object given on line 276 in /**hidden**/app/models/currencies.php Printing Stack Trace: #0 /**hidden**/vendors/monolog/monolog/src/Monolog/ErrorHandler.php(232): UnknownException::setErrorHandler(2, 'trim() expects ...', /**hidden**...', 276, Array) #1 [internal function]: Monolog\ErrorHandler->handleError(2, 'trim() expects ...', '**hidden**...', 276, Array) #2 /**hidden**/app/models/currencies.php(276): trim(Object(stdClass)) #3 /**hidden**/app/models/currencies.php(241): Currencies->toDecimal(Object(stdClass), 'USD', '1', 4) #4 /**hidden**/components/modules/namesilo/namesilo.php(3129): Currencies->convert(Object(stdClass), 'USD', 'USD', '1') #5 /**hidden**/components/modules/namesilo/namesilo.php(2747): Namesilo->getPrices() #6 /**hidden**/plugins/domains/lib/tld_sync.php(38): Namesilo->getTldPricing() #7 /**hidden**/plugins/domains/controllers/admin_domains.php(1342): TldSync->synchronizePrices(Array) #8 /**hidden**/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): AdminDomains->tlds() #9 /**hidden**/index.php(21): Dispatcher::dispatch('/admin/plugin/d...') #10 {main} Running latest Blesta patch, 5.3.2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.