newznab-tmux icon indicating copy to clipboard operation
newznab-tmux copied to clipboard

Trying to access array offset on value of type null

Open alexmateescu opened this issue 2 years ago • 10 comments

hi. i have noticed this on the tmux ui and was curios how to fix it. Screenshot 2022-03-09 at 23 03 31

any idea what it could be related to or how to find out?

alexmateescu avatar Mar 09 '22 23:03 alexmateescu

Some release is creating this issue, but without more data i am unable to help.

DariusIII avatar Mar 10 '22 19:03 DariusIII

If you can point me in the right direction or log i can provide them

On Thu 10 Mar 2022 at 19:19, DariusIII @.***> wrote:

Some release is creating this issue, but without more data i am unable to help.

— Reply to this email directly, view it on GitHub https://github.com/NNTmux/newznab-tmux/issues/1232#issuecomment-1064407163, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNANWVTGP7FZPD2GW37FWLU7JDNPANCNFSM5QK6TR5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

alexmateescu avatar Mar 10 '22 19:03 alexmateescu

[2022-03-12 14:31:54] NNTmux.ERROR: Trying to access array offset on value of type null {"exception":"[object] (ErrorException(code: 0): Trying to access array offset on value of type null at /var/www/NNTmux/Blacklight/ReleaseCleaning.php:165) [stacktrace] #0 /var/www/NNTmux/Blacklight/ReleaseCleaning.php(165): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'Trying to acces...', '/var/www/NNTmux...', 165) #1 /var/www/NNTmux/Blacklight/NZBImport.php(390): Blacklight\ReleaseCleaning->releaseCleaner('[309964]-[FULL]...', '[email protected] (r@nd...', 'alt.binaries.te...') #2 /var/www/NNTmux/Blacklight/NZBImport.php(360): Blacklight\NZBImport->insertNZB(Array) #3 /var/www/NNTmux/Blacklight/NZBImport.php(183): Blacklight\NZBImport->scanNZBFile(Object(SimpleXMLElement), false) #4 /var/www/NNTmux/misc/testing/nzb-import.php(79): Blacklight\NZBImport->beginImport(Array, false, true, true) #5 {main} "}

alexmateescu avatar Mar 12 '22 12:03 alexmateescu

[2022-03-12 21:54:29] NNTmux.ERROR: Cannot assign null to property Blacklight\Categorize::$groupName of type string {"exception":"[object] (TypeError(code: 0): Cannot assign null to property Blacklight\Categorize::$groupName of type string at /var/www/NNTmux/Blacklight/Categorize.php:94) [stacktrace] #0 /var/www/NNTmux/Blacklight/NZBImport.php(405): Blacklight\Categorize->determineCategory(0, '', '') #1 /var/www/NNTmux/Blacklight/NZBImport.php(360): Blacklight\NZBImport->insertNZB(Array) #2 /var/www/NNTmux/Blacklight/NZBImport.php(183): Blacklight\NZBImport->scanNZBFile(Object(SimpleXMLElement), false) #3 /var/www/NNTmux/misc/testing/nzb-import.php(79): Blacklight\NZBImport->beginImport(Array, false, true, true) #4 {main} "}

alexmateescu avatar Mar 13 '22 22:03 alexmateescu

Which option did you select on nzb import, with filenames or without filenames? Issue could be there.

DariusIII avatar Mar 14 '22 00:03 DariusIII

initially when i imported the nzbz from nZEDb i ticked without filename but since that import is over i have disabled the import. another thing is that compared to nZEDb the logging does not work so i can't see exactly what is happening. i've ticket the option to log each thing individually but no log files are created. the above are from the laravel log. any hints on how to fix that?

alexmateescu avatar Mar 14 '22 07:03 alexmateescu

Group name is not used in NNTmux anymore, maybe the problem lies there. Logs are located in storage/logs folder, but to have more info you need to edit your .env file and set APP_ENV from production to local and enable all the debugging options (set them to true).

DariusIII avatar Mar 15 '22 21:03 DariusIII

I will enable the logs and see if i can get more. Something is strange though. I am chasing a particular post from a.b.multimedia and it does not appear to be indexed even though is not passworded and it is posted within the backfill period.

On Tue 15 Mar 2022 at 21:40, DariusIII @.***> wrote:

Group name is not used in NNTmux anymore, maybe the problem lies there. Logs are located in storage/logs folder, but to have more info you need to edit your .env file and set APP_ENV from production to local and enable all the debugging options (set them to true).

— Reply to this email directly, view it on GitHub https://github.com/NNTmux/newznab-tmux/issues/1232#issuecomment-1068498457, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNANWUHD5X5ENIRLCHOVGTVAD7TLANCNFSM5QK6TR5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

alexmateescu avatar Mar 15 '22 21:03 alexmateescu

Can be tons of reasons. Low completion on specific provider, NNTmux blacklists, etc.

Fossil01 avatar Mar 16 '22 11:03 Fossil01

2022-07-17 17:56:05] NNTmux.ERROR: Trying to access array offset on value of type null {"exception":"[object] (ErrorException(code: 0): Trying to access array offset on value of type null at /var/www/NNTmux/Blacklight/ReleaseCleaning.php:165)
[stacktrace]
#0 /var/www/NNTmux/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(257): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 /var/www/NNTmux/Blacklight/ReleaseCleaning.php(165): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#2 /var/www/NNTmux/Blacklight/NZBImport.php(390): Blacklight\\ReleaseCleaning->releaseCleaner()
#3 /var/www/NNTmux/Blacklight/NZBImport.php(360): Blacklight\\NZBImport->insertNZB()
#4 /var/www/NNTmux/Blacklight/NZBImport.php(183): Blacklight\\NZBImport->scanNZBFile()
#5 /var/www/NNTmux/misc/testing/nzb-import.php(79): Blacklight\\NZBImport->beginImport()
#6 {main}
"} 

Still getting this over and over again while trying to import and import fails.

jjaomni avatar Jul 17 '22 22:07 jjaomni