- Status: Moved to Github
Upgraded from v4 to v5.0.3 > v5.0.4. Default theme.
TypeError: IPS\nexus\Package::lowestPriceFromData(): Argument #5 ($discounts) must be of type array, null given, called in /var/www/html/5000060/applications/nexus/sources/Package/Package.php on line 624 and defined in /var/www/html/5000060/applications/nexus/sources/Package/Package.php:643
Stack trace:
#0 /var/www/html/5000060/applications/nexus/sources/Package/Package.php(624): IPS\nexus\Package::lowestPriceFromData(Object(IPS\nexus\Customer), 'USD', 4, Array, NULL, Array, -1, NULL, false, NULL, NULL)
#1 /var/www/html/5000060/applications/nexus/sources/Package/Package.php(429): IPS\nexus\Package->_lowestPrice(Object(IPS\nexus\Customer), 'USD', false)
#2 /var/www/html/5000060/applications/downloads/sources/File/File.php(581): IPS\nexus\Package::lowestPriceToDisplay(Object(IPS\Patterns\ActiveRecordIterator), Object(IPS\nexus\Customer), true)
#3 /var/www/html/5000060/applications/downloads/sources/File/File.php(561): IPS\downloads\File::_price(NULL, '4', NULL)
#4 /var/www/html/5000060/static/templates/downloads_front_browse.php(2872): IPS\downloads\File->price()
#5 /var/www/html/5000060/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_downloads_front_browse->indexBlock(Object(IPS\downloads\File))
#6 /var/www/html/5000060/static/templates/downloads_front_browse.php(2529): IPS\Theme\SandboxedTemplate->__call('indexBlock', Array)
#7 /var/www/html/5000060/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_downloads_front_browse->index(Array, Object(IPS\Patterns\ActiveRecordIterator), Object(IPS\Patterns\ActiveRecordIterator), Object(IPS\Patterns\ActiveRecordIterator))
#8 /var/www/html/5000060/applications/downloads/modules/front/downloads/browse.php(187): IPS\Theme\SandboxedTemplate->__call('index', Array)
#9 /var/www/html/5000060/applications/downloads/modules/front/downloads/browse.php(109): IPS\downloads\modules\front\downloads\browse->_index()
#10 /var/www/html/5000060/system/Dispatcher/Controller.php(139): IPS\downloads\modules\front\downloads\browse->manage()
#11 /var/www/html/5000060/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()
#12 /var/www/html/5000060/index.php(16): IPS\Dispatcher->run()
#13 {main}
#0 /var/www/html/5000060/system/Theme/SandboxedTemplate.php(78): IPS\Log::log('TypeError: IPS\\...', 'template_error')
#1 /var/www/html/5000060/static/templates/downloads_front_browse.php(2529): IPS\Theme\SandboxedTemplate->__call('indexBlock', Array)
#2 /var/www/html/5000060/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_downloads_front_browse->index(Array, Object(IPS\Patterns\ActiveRecordIterator), Object(IPS\Patterns\ActiveRecordIterator), Object(IPS\Patterns\ActiveRecordIterator))
#3 /var/www/html/5000060/applications/downloads/modules/front/downloads/browse.php(187): IPS\Theme\SandboxedTemplate->__call('index', Array)
#4 /var/www/html/5000060/applications/downloads/modules/front/downloads/browse.php(109): IPS\downloads\modules\front\downloads\browse->_index()
#5 /var/www/html/5000060/system/Dispatcher/Controller.php(139): IPS\downloads\modules\front\downloads\browse->manage()
#6 /var/www/html/5000060/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()
#7 /var/www/html/5000060/index.php(16): IPS\Dispatcher->run()
#8 {main}
Recommended Comments