Something is messing up with PHP

I have bought a gigantic amount of modules in UNA marketplace and now getting ovefull amount of errors in php-fpm log. I cannot figure out which extension|module is screwing up the UNA site.

Before this started happening the UNA 12 was running fine under PHP7.3 and PHP7.4.

Now PHP7.4 throws Error 500, but under PHP7.3 it still runs, but the site is obviously broken and load time is loving line a turtle.

Bellow is an excerpt from my logs. Basically, the same error stack is logged with every page request:

[18-Mar-2021 22:24:17 UTC] PHP Stack trace:
[18-Mar-2021 22:24:17 UTC] PHP   1. {main}() /var/data/web/una/live_updates.php:0
[18-Mar-2021 22:24:17 UTC] PHP   2. BxTemplLiveUpdates->perform() /var/data/web/una/live_updates.php:16
[18-Mar-2021 22:24:17 UTC] PHP   3. BxTemplLiveUpdates->_getRequestedData($iIndex = 61, $bIndexCheck = TRUE, $aCachedData = ['sys_payments_cart' => '0', 'sys_payments_orders' => '0', 'sys_payments_invoices' => '0', 'bx_persons_friend_requests' => '0', 'bx_messenger_new_messages' => '0', 'bx_messenger_public_video_conference' => '0', 'bx_notifications' => '2', 'bx_notifications_toolbar' => '2', 'bx_organizations_friend_requests' => '0', 'aqb_points' => '0', 'msolutions_notify' => '0']) /var/data/web/una/inc/classes/BxDolLiveUpdates.php:121
[18-Mar-2021 22:24:17 UTC] PHP   4. BxTemplLiveUpdates->_getRequestedDataBySystem($aSystem = ['id' => '2', 'name' => 'sys_payments_cart', 'init' => '0', 'frequency' => '1', 'service_call' => 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:21:"get_live_updates_cart";s:6:"params";a:3:{i:0;a:2:{s:11:"menu_object";s:18:"sys_toolbar_member";s:9:"menu_item";s:7:"account";}i:1;a:2:{s:11:"menu_object";s:25:"sys_account_notifications";s:9:"menu_item";s:4:"cart";}i:2;s:7:"{count}";}s:5:"class";s:21:"TemplPaymentsServices";}', 'active' => '1'], $iCachedData = 0, $bInit = FALSE) /var/data/web/una/inc/classes/BxDolLiveUpdates.php:280
[18-Mar-2021 22:24:17 UTC] PHP   5. BxDolService::callSerialized($s = 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:21:"get_live_updates_cart";s:6:"params";a:3:{i:0;a:2:{s:11:"menu_object";s:18:"sys_toolbar_member";s:9:"menu_item";s:7:"account";}i:1;a:2:{s:11:"menu_object";s:25:"sys_account_notifications";s:9:"menu_item";s:4:"cart";}i:2;s:7:"{count}";}s:5:"class";s:21:"TemplPaymentsServices";}', $aMarkers = ['count' => 0, 'init' => 0], $sReplaceIn = *uninitialized*) /var/data/web/una/inc/classes/BxDolLiveUpdates.php:295
[18-Mar-2021 22:24:17 UTC] PHP   6. BxDolService::call($mixed = 'system', $sMethod = 'get_live_updates_cart', $aParams = [0 => ['menu_object' => 'sys_toolbar_member', 'menu_item' => 'account'], 1 => ['menu_object' => 'sys_account_notifications', 'menu_item' => 'cart'], 2 => '0'], $sClass = 'TemplPaymentsServices', $bIgnoreCache = FALSE, $bIgnoreInactive = *uninitialized*) /var/data/web/una/inc/classes/BxDolService.php:82
[18-Mar-2021 22:24:17 UTC] PHP   7. BxDolRequest::processAsService($aModule = ['id' => '2', 'type' => 'module', 'name' => 'system', 'title' => 'System', 'vendor' => 'UNA, Inc', 'version' => '12.0.1', 'help_url' => '', 'path' => '', 'uri' => 'system', 'class_prefix' => 'Bx', 'db_prefix' => 'sys_', 'lang_category' => 'System', 'dependencies' => '', 'date' => '0', 'enabled' => '1', 'pending_uninstall' => '0', 'hash' => ''], $sMethod = 'get_live_updates_cart', $aParams = [0 => ['menu_object' => 'sys_toolbar_member', 'menu_item' => 'account'], 1 => ['menu_object' => 'sys_account_notifications', 'menu_item' => 'cart'], 2 => '0'], $sClass = 'TemplPaymentsServices') /var/data/web/una/inc/classes/BxDolService.php:52
[18-Mar-2021 22:24:17 UTC] PHP   8. BxDolRequest::_perform($aModule = ['id' => '2', 'type' => 'module', 'name' => 'system', 'title' => 'System', 'vendor' => 'UNA, Inc', 'version' => '12.0.1', 'help_url' => '', 'path' => '', 'uri' => 'system', 'class_prefix' => 'Bx', 'db_prefix' => 'sys_', 'lang_category' => 'System', 'dependencies' => '', 'date' => '0', 'enabled' => '1', 'pending_uninstall' => '0', 'hash' => ''], $sClass = 'TemplPaymentsServices', $sMethod = 'serviceGetLiveUpdatesCart', $aParams = [0 => ['menu_object' => 'sys_toolbar_member', 'menu_item' => 'account'], 1 => ['menu_object' => 'sys_account_notifications', 'menu_item' => 'cart'], 2 => '0'], $bTerminateOnError = FALSE) /var/data/web/una/inc/classes/BxDolRequest.php:57
[18-Mar-2021 22:24:17 UTC] PHP   9. call_user_func_array:{/var/data/web/una/inc/classes/BxDolRequest.php:129}($function_name = [0 => class BxTemplPaymentsServices {  }, 1 => 'serviceGetLiveUpdatesCart'], $parameters = [0 => ['menu_object' => 'sys_toolbar_member', 'menu_item' => 'account'], 1 => ['menu_object' => 'sys_account_notifications', 'menu_item' => 'cart'], 2 => '0']) /var/data/web/una/inc/classes/BxDolRequest.php:129
[18-Mar-2021 22:24:17 UTC] PHP  10. BxTemplPaymentsServices->serviceGetLiveUpdatesCart($aMenuItemParent = ['menu_object' => 'sys_toolbar_member', 'menu_item' => 'account'], $aMenuItemChild = ['menu_object' => 'sys_account_notifications', 'menu_item' => 'cart'], $iCount = '0') /var/data/web/una/inc/classes/BxDolRequest.php:129
[18-Mar-2021 22:24:17 UTC] PHP  11. BxDolPayments->getCartItemsCount() /var/data/web/una/template/scripts/BxBasePaymentsServices.php:92
[18-Mar-2021 22:24:17 UTC] PHP  12. BxDolRequest::serviceExists($mixedModule = 'bx_payment', $sMethod = 'get_cart_items_count', $sClass = 'Cart') /var/data/web/una/inc/classes/BxDolPayments.php:273
[18-Mar-2021 22:24:17 UTC] PHP  13. BxDolRequest::_methodExists($mixedModule = 'bx_payment', $sMethodType = 'service', $sMethodName = 'get_cart_items_count', $sClass = 'Cart') /var/data/web/una/inc/classes/BxDolRequest.php:66
[18-Mar-2021 22:24:17 UTC] PHP  14. BxDolRequest::_require($aModule = ['id' => '29', 'type' => 'module', 'name' => 'bx_payment', 'title' => 'Payment', 'vendor' => 'Boonex', 'version' => '12.0.3', 'help_url' => 'http://feed.una.io/?section={module_name}', 'path' => 'boonex/payment/', 'uri' => 'payment', 'class_prefix' => 'BxPayment', 'db_prefix' => 'bx_payment_', 'lang_category' => 'Payment', 'dependencies' => '', 'date' => '1615434783', 'enabled' => '1', 'pending_uninstall' => '0', 'hash' => ''], $sClass = 'BxPaymentCart') /var/data/web/una/inc/classes/BxDolRequest.php:166
[18-Mar-2021 22:24:17 UTC] PHP  15. BxPaymentCart->__construct(['id' => '29', 'type' => 'module', 'name' => 'bx_payment', 'title' => 'Payment', 'vendor' => 'Boonex', 'version' => '12.0.3', 'help_url' => 'http://feed.una.io/?section={module_name}', 'path' => 'boonex/payment/', 'uri' => 'payment', 'class_prefix' => 'BxPayment', 'db_prefix' => 'bx_payment_', 'lang_category' => 'Payment', 'dependencies' => '', 'date' => '1615434783', 'enabled' => '1', 'pending_uninstall' => '0', 'hash' => '']) /var/data/web/una/inc/classes/BxDolRequest.php:151
[18-Mar-2021 22:24:17 UTC] PHP  16. BxPaymentCart->__construct() /var/data/web/una/modules/boonex/payment/classes/BxPaymentCart.php:18
[18-Mar-2021 22:24:17 UTC] PHP  17. BxDolModule::getInstance($sName = 'bx_payment') /var/data/web/una/modules/base/payment/classes/BxBaseModPaymentCart.php:24
[18-Mar-2021 22:24:17 UTC] PHP  18. BxPaymentModule->__construct($aModule = ['id' => '29', 'type' => 'module', 'name' => 'bx_payment', 'title' => 'Payment', 'vendor' => 'Boonex', 'version' => '12.0.3', 'help_url' => 'http://feed.una.io/?section={module_name}', 'path' => 'boonex/payment/', 'uri' => 'payment', 'class_prefix' => 'BxPayment', 'db_prefix' => 'bx_payment_', 'lang_category' => 'Payment', 'dependencies' => '', 'date' => '1615434783', 'enabled' => '1', 'pending_uninstall' => '0', 'hash' => '']) /var/data/web/una/inc/classes/BxDolModule.php:102
[18-Mar-2021 22:24:17 UTC] PHP  19. BxPaymentModule->__construct($aModule = ['id' => '29', 'type' => 'module', 'name' => 'bx_payment', 'title' => 'Payment', 'vendor' => 'Boonex', 'version' => '12.0.3', 'help_url' => 'http://feed.una.io/?section={module_name}', 'path' => 'boonex/payment/', 'uri' => 'payment', 'class_prefix' => 'BxPayment', 'db_prefix' => 'bx_payment_', 'lang_category' => 'Payment', 'dependencies' => '', 'date' => '1615434783', 'enabled' => '1', 'pending_uninstall' => '0', 'hash' => '']) /var/data/web/una/modules/boonex/payment/classes/BxPaymentModule.php:114
[18-Mar-2021 22:24:17 UTC] PHP  20. BxPaymentModule->__construct($aModule = ['id' => '29', 'type' => 'module', 'name' => 'bx_payment', 'title' => 'Payment', 'vendor' => 'Boonex', 'version' => '12.0.3', 'help_url' => 'http://feed.una.io/?section={module_name}', 'path' => 'boonex/payment/', 'uri' => 'payment', 'class_prefix' => 'BxPayment', 'db_prefix' => 'bx_payment_', 'lang_category' => 'Payment', 'dependencies' => '', 'date' => '1615434783', 'enabled' => '1', 'pending_uninstall' => '0', 'hash' => '']) /var/data/web/una/modules/base/payment/classes/BxBaseModPaymentModule.php:18
[18-Mar-2021 22:24:17 UTC] PHP  21. BxPaymentModule->__construct($aModule = ['id' => '29', 'type' => 'module', 'name' => 'bx_payment', 'title' => 'Payment', 'vendor' => 'Boonex', 'version' => '12.0.3', 'help_url' => 'http://feed.una.io/?section={module_name}', 'path' => 'boonex/payment/', 'uri' => 'payment', 'class_prefix' => 'BxPayment', 'db_prefix' => 'bx_payment_', 'lang_category' => 'Payment', 'dependencies' => '', 'date' => '1615434783', 'enabled' => '1', 'pending_uninstall' => '0', 'hash' => '']) /var/data/web/una/modules/base/general/classes/BxBaseModGeneralModule.php:25
[18-Mar-2021 22:24:17 UTC] PHP  22. BxPaymentConfig->__construct($aModule = ['id' => '29', 'type' => 'module', 'name' => 'bx_payment', 'title' => 'Payment', 'vendor' => 'Boonex', 'version' => '12.0.3', 'help_url' => 'http://feed.una.io/?section={module_name}', 'path' => 'boonex/payment/', 'uri' => 'payment', 'class_prefix' => 'BxPayment', 'db_prefix' => 'bx_payment_', 'lang_category' => 'Payment', 'dependencies' => '', 'date' => '1615434783', 'enabled' => '1', 'pending_uninstall' => '0', 'hash' => '']) /var/data/web/una/inc/classes/BxDolModule.php:63
[18-Mar-2021 22:24:17 UTC] PHP  23. BxPaymentConfig->getBaseUri() /var/data/web/una/modules/boonex/payment/classes/BxPaymentConfig.php:23
[18-Mar-2021 22:24:17 UTC] PHP  24. BxDolPermalinks->permalink($sLink = 'modules/?r=payment/', $aParams = *uninitialized*) /var/data/web/una/inc/classes/BxDolModuleConfig.php:116
[18-Mar-2021 22:24:17 UTC] PHP  25. bx_alert($sUnit = 'system', $sAction = 'permalink', $iObjectId = 0, $iSender = 0, $aExtras = ['link' => 'modules/?r=payment/', 'params' => [], 'return_data' => NULL]) /var/data/web/una/inc/classes/BxDolPermalinks.php:164
[18-Mar-2021 22:24:17 UTC] PHP  26. BxDolAlerts->alert() /var/data/web/una/inc/utils.inc.php:1585
[18-Mar-2021 22:24:17 UTC] PHP Notice:  Undefined offset: 1235 in /var/data/web/una/inc/classes/BxDolAlerts.php on line 110
  • 805
  • More
Replies (2)
    • Hello Viktor Zhuromskyy !

      From a quick view only this part looks not good:

      [18-Mar-2021 22:24:17 UTC] PHP Notice:  Undefined offset: 1235 in /var/data/web/una/inc/classes/BxDolAlerts.php on line 110

      It seems that the script tries to reach the removed alert of some module.

      Do you have any PHP errors there?

      • That was weird screw up with some php extensions which having removed all gigabytes of error disappeared and the UNA site is back to normal.

        Thank you!

        Login or Join to comment.