·
Added a discussion

Thank you to all the staff for your hard work.

Some members were unable to log in and the screen turned white, so when we checked the logs, we found a large number of errors such as the following.

What kind of error is this?

Environment: updated to una13>una13.1

web server nginx1.24

PHP8.1

It seems that an error occurs when a specific user accesses the site.

2023/12/07 01:57:46 [error] 966#966: *125777 FastCGI sent in stderr: "PHP message: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/html/sky-meet/inc/classes/BxDolPrivacyQuery.php on line 248PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string - int in /var/www/html/sky-meet/inc/classes/BxDolAcl.php:229
Stack trace:
#0 /var/www/html/sky-meet/inc/classes/BxDolPrivacy.php(691): BxDolAcl->isMemberLevelInSet()
#1 /var/www/html/sky-meet/inc/classes/BxDolPrivacy.php(847): BxDolPrivacy->checkMembershipsSelectedByObject()
#2 /var/www/html/sky-meet/inc/classes/BxDolPrivacy.php(598): BxDolPrivacy->_check()
#3 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php(724): BxDolPrivacy->check()
#4 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php(843): BxTimelineTemplate->getPost()
#5 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php(388): BxTimelineTemplate->getPosts()
#6 /var/www/html/sky-meet/inc/classes/BxDolModuleProxy.php(49): BxTimelineTemplate->getViewBlock()
#7 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php(5238): BxDolModuleProxy->__call()
#8 /var/www" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET /page.php?i=view-persons-profile&id=1 HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com", referrer: "https://sky-meet.com/"
2023/12/07 01:57:50 [error] 966#966: *125779 FastCGI sent in stderr: "PHP message: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/html/sky-meet/inc/classes/BxDolPrivacyQuery.php on line 248PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string - int in /var/www/html/sky-meet/inc/classes/BxDolAcl.php:229
Stack trace:
#0 /var/www/html/sky-meet/inc/classes/BxDolPrivacy.php(691): BxDolAcl->isMemberLevelInSet()
#1 /var/www/html/sky-meet/inc/classes/BxDolPrivacy.php(847): BxDolPrivacy->checkMembershipsSelectedByObject()
#2 /var/www/html/sky-meet/inc/classes/BxDolPrivacy.php(598): BxDolPrivacy->_check()
#3 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php(724): BxDolPrivacy->check()
#4 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php(843): BxTimelineTemplate->getPost()
#5 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php(388): BxTimelineTemplate->getPosts()
#6 /var/www/html/sky-meet/inc/classes/BxDolModuleProxy.php(49): BxTimelineTemplate->getViewBlock()
#7 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php(5238): BxDolModuleProxy->__call()
#8 /var/www" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET /page.php?i=view-persons-profile&id=1 HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com", referrer: "https://sky-meet.com/"
2023/12/07 01:57:57 [error] 966#966: *125807 FastCGI sent in stderr: "PHP message: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/html/sky-meet/inc/classes/BxDolPrivacyQuery.php on line 248PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string - int in /var/www/html/sky-meet/inc/classes/BxDolAcl.php:229
Stack trace:
#0 /var/www/html/sky-meet/inc/classes/BxDolPrivacy.php(691): BxDolAcl->isMemberLevelInSet()
#1 /var/www/html/sky-meet/inc/classes/BxDolPrivacy.php(847): BxDolPrivacy->checkMembershipsSelectedByObject()
#2 /var/www/html/sky-meet/inc/classes/BxDolPrivacy.php(598): BxDolPrivacy->_check()
#3 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php(724): BxDolPrivacy->check()
#4 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php(843): BxTimelineTemplate->getPost()
#5 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php(388): BxTimelineTemplate->getPosts()
#6 /var/www/html/sky-meet/inc/classes/BxDolModuleProxy.php(49): BxTimelineTemplate->getViewBlock()
#7 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php(5238): BxDolModuleProxy->__call()
#8 /var/www" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET /page.php?i=view-persons-profile&id=1 HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com"
2023/12/07 02:00:05 [error] 966#966: *126010 FastCGI sent in stderr: "PHP message: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/html/sky-meet/inc/classes/BxDolPrivacyQuery.php on line 248PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string - int in /var/www/html/sky-meet/inc/classes/BxDolAcl.php:229
Stack trace:
#0 /var/www/html/sky-meet/inc/classes/BxDolPrivacy.php(691): BxDolAcl->isMemberLevelInSet()
#1 /var/www/html/sky-meet/inc/classes/BxDolPrivacy.php(847): BxDolPrivacy->checkMembershipsSelectedByObject()
#2 /var/www/html/sky-meet/inc/classes/BxDolPrivacy.php(598): BxDolPrivacy->_check()
#3 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php(724): BxDolPrivacy->check()
#4 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php(843): BxTimelineTemplate->getPost()
#5 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php(388): BxTimelineTemplate->getPosts()
#6 /var/www/html/sky-meet/inc/classes/BxDolModuleProxy.php(49): BxTimelineTemplate->getViewBlock()
#7 /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php(5238): BxDolModuleProxy->__call()
#8 /var/www" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET /page.php?i=view-persons-profile&id=1 HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com", referrer: "https://sky-meet.com/"
  • 647
Comments
    • Hello @atapo !

      It seems this is another point to our PHP 8.2 compatibility work https://github.com/unaio/una/commit/754b95ea8b01d8e76f8c688c8b398852228c819d Thnx for the signal!

      • Thank you for quick response @LeonidS

        I'll fix it and see how it goes for a while.

        • Hello @LeonidS

          This time, the following errors started to occur frequently.

          Is this an error specific to php8.1?

          2023/12/16 13:26:16 [error] 969#969: *117342 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "url" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php on line 598PHP message: PHP Warning:  Undefined array key "url" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php on line 598PHP message: PHP Warning:  Undefined array key "url" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php on line 598PHP message: PHP Warning:  Undefined array key "url" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineTemplate.php on line 598" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET /modules/index.php?r=timeline/get_item_brief&view=outline&type=owner&start=0&per_page=3&per_page_default=10&timeline=0&filter=all&modules=&owner_id=443&name=&media=&context=&blink=&viewer_id=0&browse=list&status=active&moderator=false&dynamic_mode=false&_t=1702700775210&id=3846&mode=photo&src=aHR0cHM6Ly9za3ktbWVldC5jb20vcy9ieF90aW1lbGluZV9waG90b3NfcHJvY2Vzc2VkL3ZsYThoenFycWNwNmNrZnNzbXk2Nm1kdm1wbGFxeWd0LmpwZw== HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com", referrer: "https://sky-meet.com/page/view-persons-profile?id=204"
          2023/12/16 13:27:24 [error] 969#969: *117356 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET /wp-login.php HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com", referrer: "http://sky-meet.com/wp-login.php"
          2023/12/16 13:28:49 [error] 969#969: *117410 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "type" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php on line 5558" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com"
          2023/12/16 13:44:46 [error] 969#969: *117533 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "type" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php on line 5558" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com"
          2023/12/16 14:04:07 [error] 969#969: *117715 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "type" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php on line 5558" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com", referrer: "https://sky-meet.com/"
          2023/12/16 14:26:46 [error] 969#969: *117894 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "type" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php on line 5558" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com", referrer: "https://sky-meet.com/page/view-persons-profile?id=106"
          2023/12/16 14:26:54 [error] 969#969: *117940 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "type" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php on line 5558" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com", referrer: "https://sky-meet.com/"
          2023/12/16 14:27:26 [error] 969#969: *118068 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "type" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php on line 5558" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com", referrer: "https://sky-meet.com/page/view-group-profile?id=8"
          2023/12/16 14:27:54 [error] 969#969: *118161 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "type" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php on line 5558" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com", referrer: "https://sky-meet.com/"
          2023/12/16 14:31:38 [error] 969#969: *118280 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "type" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php on line 5558" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com"
          2023/12/16 14:36:52 [error] 969#969: *118528 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "type" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php on line 5558" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com", referrer: "https://sky-meet.com/page/view-channel-profile?id=109"
          2023/12/16 14:46:21 [error] 969#969: *118712 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "type" in /var/www/html/sky-meet/modules/boonex/timeline/classes/BxTimelineModule.php on line 5558" while reading response header from upstream, client: 192.168.11.50, server: sky-meet.com, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sky-meet.com", referrer: "https://sky-meet.com/page/view-channel-profile?id=7"
          
          
          
          • This error relates to the mentioned fix https://una.io/d/sitemap-generator too. It will be available in the next release.

            Login or Join to comment.