Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook Tuesday at 01:29 PM
Aaron M Posted February 14 Share Posted February 14 Got after upgrading to latest version. Full trace: TypeError: array_reverse(): Argument #1 ($array) must be of type array, null given in applications/nexus/sources/Gateway/PayPal/BillingAgreement.php:126 Stack trace: #0 applications/nexus/sources/Gateway/PayPal/BillingAgreement.php(126): array_reverse() #1 applications/nexus/sources/Customer/BillingAgreement.php(307): IPS\nexus\Gateway\PayPal\_BillingAgreement->latestUnclaimedTransaction() #2 applications/nexus/tasks/billingAgreements.php(57): IPS\nexus\Customer\_BillingAgreement->checkForLatestTransaction() #3 system/Task/Task.php(274): IPS\nexus\tasks\_billingAgreements->execute() #4 system/Task/Task.php(237): IPS\_Task->run() #5 applications/core/interface/task/task.php(72): IPS\_Task->runAndLog() #6 {main} Backtrace: #0 applications/nexus/tasks/billingAgreements.php(74): IPS\_Log::log() #1 system/Task/Task.php(274): IPS\nexus\tasks\_billingAgreements->execute() #2 system/Task/Task.php(237): IPS\_Task->run() #3 applications/core/interface/task/task.php(72): IPS\_Task->runAndLog() #4 {main} Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 14 Share Posted February 14 You probably need to upgrade your cron tasks to PHP 8.1 if you’re coming from PHP 8. Link to comment Share on other sites More sharing options...
Aaron M Posted February 14 Author Share Posted February 14 1 minute ago, Adriano Faria said: You probably need to upgrade your cron tasks to PHP 8.1 if you’re coming from PHP 8. I'm running PHP 8, it's a fresh setup so cron should be using php8.0-fpm already Link to comment Share on other sites More sharing options...
Marc Stridgen Posted February 15 Share Posted February 15 9 hours ago, Aaron M said: I'm running PHP 8, it's a fresh setup so cron should be using php8.0-fpm already Before we go any further, please check this to ensure it is indeed using PHP 8. It looks like it may not be from what is showing above Link to comment Share on other sites More sharing options...
Talisman12 Posted February 15 Share Posted February 15 1 hour ago, Marc Stridgen said: Before we go any further, please check this to ensure it is indeed using PHP 8. It looks like it may not be from what is showing above The upgrade was from a 7.4 machine but I checked the crontab, we're using the binary in /usr/bin/php and /usr/bin/php -v returns PHP 8.0.27 Link to comment Share on other sites More sharing options...
Marc Stridgen Posted February 15 Share Posted February 15 I have created a ticket on this so we can take a closer look Talisman12 1 Link to comment Share on other sites More sharing options...
Talisman12 Posted February 15 Share Posted February 15 Thank you. If It helps, I'm also seeing a few more errors in the systems log such as SELECT COUNT(*) FROM `core_search_index` WHERE index_class='IPS\core\Statuses\Status' AND index_container_id=303885 IPS\Db\Exception: Table 'adatabasenamehere.core_search_index' doesn't exist (1146) when anybody tries to use the quicksearch. Link to comment Share on other sites More sharing options...
Marc Stridgen Posted February 15 Share Posted February 15 Please feel free to add any further information to the topic Link to comment Share on other sites More sharing options...
Talisman12 Posted February 15 Share Posted February 15 Sure - current system log "top hits": Message Count Error: Property access is not allowed yet (0) #0 /mnt/efs/forum/applications/core/modules/front/discover/streams.php(410): IPS\Content\Search\Mysql\_Query->search() #1 /mnt/efs/forum/system/Dispatcher/Controller.php(118): IPS\core\modules\front\discover\_streams->manage() #2 /mnt/efs/forum/applications/core/modules/front/discover/streams.php(65): IPS\Dispatcher\_Controller->execute() #3 /mnt/efs/forum/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\discover\_streams->execute() #4 /mnt/efs/forum/index.php(13): IPS\_Dispatcher->run() #5 {main} 130 TypeError: array_reverse(): Argument #1 ($array) must be of type array, null given in /mnt/efs/forum/applications/nexus/sources/Gateway/PayPal/BillingAgreement.php:126 Stack trace: #0 /mnt/efs/forum/applications/nexus/sources/Gateway/PayPal/BillingAgreement.php(126): array_reverse() #1 /mnt/efs/forum/applications/nexus/sources/Customer/BillingAgreement.php(307): IPS\nexus\Gateway\PayPal\_BillingAgreement->latestUnclaimedTransaction() #2 /mnt/efs/forum/applications/nexus/tasks/billingAgreements.php(57): IPS\nexus\Customer\_BillingAgreement->checkForLatestTransaction() #3 /mnt/efs/forum/system/Task/Task.php(274): IPS\nexus\tasks\_billingAgreements->execute() #4 /mnt/efs/forum/system/Task/Task.php(237): IPS\_Task->run() #5 /mnt/efs/forum/applications/core/interface/task/task.php(72): IPS\_Task->runAndLog() #6 {main} 76 Error: Attempt to assign property "id" on null (0) #0 /mnt/efs/forum/applications/cms/sources/Pages/Page.php(1260): IPS\Theme\content_pages_61() #1 /mnt/efs/forum/applications/cms/sources/Pages/Page.php(2286): IPS\cms\Pages\_Page->getHtmlContent() #2 /mnt/efs/forum/applications/cms/modules/front/pages/page.php(116): IPS\cms\Pages\_Page->output() #3 /mnt/efs/forum/applications/cms/modules/front/pages/page.php(43): IPS\cms\modules\front\pages\_page->view() #4 /mnt/efs/forum/system/Dispatcher/Controller.php(118): IPS\cms\modules\front\pages\_page->manage() #5 /mnt/efs/forum/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute() #6 /mnt/efs/forum/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\front\pages\_page->execute() #7 /mnt/efs/forum/index.php(13): IPS\_Dispatcher->run() #8 {main} 68 SELECT MIN(index_date_updated) FROM `core_search_index` IPS\Db\Exception: Table 'adatabasenamehere.core_search_index' doesn't exist (1146) #0 /mnt/efs/forum/system/Db/Select.php(388): IPS\_Db->preparedQuery() #1 /mnt/efs/forum/system/Db/Select.php(446): IPS\Db\_Select->runQuery() #2 /mnt/efs/forum/system/Db/Select.php(370): IPS\Db\_Select->rewind() #3 /mnt/efs/forum/system/Content/Search/Mysql/Index.php(638): IPS\Db\_Select->first() #4 /mnt/efs/forum/applications/core/modules/front/discover/popular.php(217): IPS\Content\Search\Mysql\_Index->firstIndexDate() #5 /mnt/efs/forum/applications/core/modules/front/discover/popular.php(70): IPS\core\modules\front\discover\_popular->leaderboard() #6 /mnt/efs/forum/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\discover\_popular->execute() #7 /mnt/efs/forum/index.php(13): IPS\_Dispatcher->run() #8 {main} 16 SELECT COUNT(*) FROM `core_search_index` WHERE index_class='IPS\core\Statuses\Status' AND index_container_id=303885 IPS\Db\Exception: Table 'adatabasenamehere.core_search_index' doesn't exist (1146) #0 /mnt/efs/forum/system/Db/Select.php(388): IPS\_Db->preparedQuery() #1 /mnt/efs/forum/system/Db/Select.php(446): IPS\Db\_Select->runQuery() #2 /mnt/efs/forum/system/Db/Select.php(370): IPS\Db\_Select->rewind() #3 /mnt/efs/forum/system/Content/Search/Mysql/Query.php(298): IPS\Db\_Select->first() #4 /mnt/efs/forum/applications/core/modules/front/members/profile.php(253): IPS\Content\Search\Mysql\_Query->filterForProfile() #5 /mnt/efs/forum/init.php(935) : eval()'d code(48): IPS\core\modules\front\members\_profile->manage() #6 /mnt/efs/forum/system/Dispatcher/Controller.php(118): IPS\core\modules\front\members\steam_hook_steamDefault->manage() #7 /mnt/efs/forum/applications/core/modules/front/members/profile.php(81): IPS\Dispatcher\_Controller->execute() #8 /mnt/efs/forum/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\members\_profile->execute() #9 /mnt/efs/forum/index.php(13): IPS\_Dispatcher->run() #10 {main} 14 SELECT COUNT(*) FROM `core_search_index` WHERE index_class='IPS\core\Statuses\Status' AND index_container_id=253513 IPS\Db\Exception: Table 'adatabasenamehere.core_search_index' doesn't exist (1146) #0 /mnt/efs/forum/system/Db/Select.php(388): IPS\_Db->preparedQuery() #1 /mnt/efs/forum/system/Db/Select.php(446): IPS\Db\_Select->runQuery() #2 /mnt/efs/forum/system/Db/Select.php(370): IPS\Db\_Select->rewind() #3 /mnt/efs/forum/system/Content/Search/Mysql/Query.php(298): IPS\Db\_Select->first() #4 /mnt/efs/forum/applications/core/modules/front/members/profile.php(253): IPS\Content\Search\Mysql\_Query->filterForProfile() #5 /mnt/efs/forum/init.php(935) : eval()'d code(48): IPS\core\modules\front\members\_profile->manage() #6 /mnt/efs/forum/system/Dispatcher/Controller.php(118): IPS\core\modules\front\members\steam_hook_steamDefault->manage() #7 /mnt/efs/forum/applications/core/modules/front/members/profile.php(81): IPS\Dispatcher\_Controller->execute() #8 /mnt/efs/forum/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\members\_profile->execute() #9 /mnt/efs/forum/index.php(13): IPS\_Dispatcher->run() #10 {main} Naturally our biggest concern is the billing agreements, but it seems like when we upgraded from 4.6.12.1 some things like the core_search_index weren't autogenerated by IPB during the upgrade? Also in case it's needed - is the IPS VPN still 144.202.11.32? Link to comment Share on other sites More sharing options...
Marc Stridgen Posted February 15 Share Posted February 15 Sorry, I should have said the ticket, rather than topic Link to comment Share on other sites More sharing options...
Recommended Posts