| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
X-Cart 4.7.5 released: Amazon Feeds, Gross Profit, Convenient search tools | ||||
![]() |
|
|
Thread Tools |
#11
|
|||||||
|
|||||||
![]() I have just upgraded our live store to 4.7.5 and now we get these errors:
Quote:
In addition to that: the cost price is not calculated on the dashboard, and it is not shown on the orders list (like in this screenshot). The module is enabled. I checked & skin/common_files/main/orders_list.tpl has indeed been modified and the requires modifications have been made by the upgrade. /include/func/func.core.php has also been modified, function func_decimal_empty($value) is declared in that file, so I don't understand the call to undefined function.
__________________
X-Cart 4.7.12 |
|||||||
#12
|
|||||||
|
|||||||
![]() Quote:
The module shows the 'Gross profit' field only. Quote:
It is very strange bug. May be this a single case during the upgrade. Thank you.
__________________
Sincerely yours, Ildar Amankulov Head of Maintenance group |
|||||||
#13
|
|||||||
|
|||||||
![]() Quote:
Quote:
This error is also showing up in the logs: Quote:
__________________
X-Cart 4.7.12 |
|||||||
#14
|
|||||||||
|
|||||||||
![]() The
Warning: Illegal string offset 'products' in /public_html/include/func/func.cart.php on line 4313 is just a warning. Not an error and it will not prevent cart from functioning. It will however fill up your log files. This is not the only place this warning will show up. It is due to the outdated code in XC and the use of newer PHP version.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#15
|
|||||||||
|
|||||||||
![]() Bug reported - https://bt.x-cart.com/view.php?id=45911
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#16
|
|||||||
|
|||||||
![]() Quote:
That's not great though.. but as long as my customers won't see the error I can live with it, but I'd rather have it fixed ofcourse. Cost Price thing still not working here though, I'll wait with upgrading my other store from 4.7.4 to 4.7.5 until there's a fix for that.
__________________
X-Cart 4.7.12 |
|||||||
#17
|
|||||||||
|
|||||||||
![]() You can fix it. The error generally means you are trying to use string as a full array.
In the XC code this probably means $products is not set or is false and the next line of code is trying to run foreach on it. You can fix it by checking if $products is an array and only then run the foreach. But I can tell you right now same error pops up on several places in XC depending on settings, modules active, customizations, etc. But yes it is possible to fix these pretty easily.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#18
|
|||||||
|
|||||||
![]() Quote:
I cannot localize the "Call to undefined function func_decimal_empty" problem without a ssh/ftp access to your server. Could you provide us with the valid FTP/SSH or Control Panel access to your X-Cart server ? Please place the access information into a special secure form in the "Communication index", "Post access info" section: * https://secure.x-cart.com/customer.php?target=create_access_info
__________________
Sincerely yours, Ildar Amankulov Head of Maintenance group |
|||||||
#19
|
|||||||
|
|||||||
![]() Quote:
The 'Gross profit' field is not shown for orders with zero gross costs. Thank you.
__________________
Sincerely yours, Ildar Amankulov Head of Maintenance group |
|||||||
#20
|
|||||||
|
|||||||
![]() Quote:
Quote:
I have added costs prices for all items in 1 order for example, then searched for that order & it still does not show, while both products in that order have costs entered.
__________________
X-Cart 4.7.12 |
|||||||
|
|||
X-Cart forums © 2001-2020
|