WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.89k stars 971 forks source link

plugin ADs #7774

Open KrzysioMisio opened 1 year ago

KrzysioMisio commented 1 year ago

I keep getting ADs plugin warnings

`[10-Mar-2023 16:01:39 Europe/Warsaw] PHP Warning: Attempt to read property "value" on null in path/to/my/streamer/site/plugin/ADs/ADs.php(305) : eval()'d code on line 1

[10-Mar-2023 16:01:39 Europe/Warsaw] PHP Warning: Undefined property: stdClass::$sideRectangleMobile in path/to/my/streamer/site/plugin/ADs/ADs.php(305) : eval()'d code on line 1

[10-Mar-2023 16:01:39 Europe/Warsaw] PHP Warning: Undefined property: stdClass::$sideRectangleMobileLabel in path/to/my/streamer/site/plugin/ADs/ADs.php(300) : eval()'d code on line 1

[10-Mar-2023 16:01:39 Europe/Warsaw] PHP Warning: Attempt to read property "value" on null in path/to/my/streamer/site/plugin/ADs/ADs.php(305) : eval()'d code on line 1

[10-Mar-2023 16:01:39 Europe/Warsaw] PHP Warning: Undefined property: stdClass::$leaderBoardTop2Mobile in path/to/my/streamer/site/plugin/ADs/ADs.php(305) : eval()'d code on line 1

[10-Mar-2023 16:01:39 Europe/Warsaw] PHP Warning: Undefined property: stdClass::$leaderBoardTop2MobileLabel in path/to/my/streamer/site/plugin/ADs/ADs.php(300) : eval()'d code on line 1`

DanielnetoDotCom commented 1 year ago

try to reset the plugin

https://github.com/WWBN/AVideo/wiki/How-to-Reset-an-AVideo-Plugin

KrzysioMisio commented 1 year ago

it's not just plugins that cause warnings

[11-Mar-2023 21:04:16 UTC] AVideoLog::SECURITY: ddosProtection:: progressive timeout timeoutReal = (5) active_connections = (40) maxCon = (40) SCRIPT_NAME: /view/xsendfile.php [11-Mar-2023 21:55:01 Europe/Warsaw] PHP Warning: Trying to access array offset on value of type bool in path/to/my/streamer/site/plugin/PlayLists/View/getPlaylistButtons.php on line 140 [11-Mar-2023 21:24:24 Europe/Warsaw] PHP Warning: Undefined array key "sort" in path/to/my/streamer/site/objects/user.php on line 3060 [11-Mar-2023 19:15:31 UTC] PHP Fatal error: Uncaught Error: Call to undefined function __() in path/to/my/streamer/site/objects/functions.php:7048 [11-Mar-2023 19:15:31 UTC] PHP Fatal error: Uncaught Error: Call to undefined function __() in path/to/my/streamer/site/plugin/CustomizeUser/CustomizeUser.php:153 [11-Mar-2023 18:15:44 Europe/Warsaw] PHP Warning: Trying to access array offset on value of type bool in path/to/my/streamer/site/plugin/PlayLists/View/getPlaylistButtons.php on line 130

KrzysioMisio commented 1 year ago

I reset ADs plugins I have downloaded your updates it didn't fix anything

[12-Mar-2023 13:37:38 Europe/Warsaw] PHP Warning: Attempt to read property "value" on null in path/to/my/streamer/site/plugin/ADs/ADs.php(305) : eval()'d code on line 1

[12-Mar-2023 13:37:38 Europe/Warsaw] PHP Warning: Undefined property: stdClass::$sideRectangleMobile in path/to/my/streamer/site/plugin/ADs/ADs.php(305) : eval()'d code on line 1

[12-Mar-2023 13:37:38 Europe/Warsaw] PHP Warning: Undefined property: stdClass::$sideRectangleMobileLabel in path/to/my/streamer/site/plugin/ADs/ADs.php(300) : eval()'d code on line 1

[12-Mar-2023 13:37:38 Europe/Warsaw] PHP Warning: Attempt to read property "value" on null in path/to/my/streamer/site/plugin/ADs/ADs.php(305) : eval()'d code on line 1

[12-Mar-2023 13:37:38 Europe/Warsaw] PHP Warning: Undefined property: stdClass::$leaderBoardTop2Mobile in path/to/my/streamer/site/plugin/ADs/ADs.php(305) : eval()'d code on line 1

[12-Mar-2023 13:37:38 Europe/Warsaw] PHP Warning: Undefined property: stdClass::$leaderBoardTop2MobileLabel in path/to/my/streamer/site/plugin/ADs/ADs.php(300) : eval()'d code on line 1

[12-Mar-2023 13:21:17 Europe/Warsaw] PHP Warning: Undefined array key "sort" in path/to/my/streamer/site/objects/user.php on line 3060

DanielnetoDotCom commented 1 year ago

Did you make a git pull or download?

KrzysioMisio commented 1 year ago

I only updated the files you modified I uploaded them to the server via FTP

DanielnetoDotCom commented 1 year ago

https://github.com/WWBN/AVideo/wiki/How-to-Update-your-AVideo-Platform#why-using-git-pull-is-the-best-method

KrzysioMisio commented 1 year ago

I did an update via Git pull Nothing has changed, I still have warnings. When I disable the ADs plugin the warnings don't show up. And don't you see the problem in plugin/ADs/ADs.php(305) : eval()'d code on line 1 plugin/ADs/ADs.php(300) : eval()'d code on line 1

DanielnetoDotCom commented 1 year ago

That is weird. What exact warnings are you seeing, can you copy and paste them here?

regarding the ads warnings, try this update

KrzysioMisio commented 1 year ago

[12-Mar-2023 15:17:51 Europe/Warsaw] PHP Warning: Attempt to read property "value" on null in path/to/my/streamer/site/plugin/ADs/ADs.php(305) : eval()'d code on line 1

[12-Mar-2023 15:17:51 Europe/Warsaw] PHP Warning: Undefined property: stdClass::$sideRectangleMobile in path/to/my/streamer/site/plugin/ADs/ADs.php(305) : eval()'d code on line 1

[12-Mar-2023 15:17:51 Europe/Warsaw] PHP Warning: Undefined property: stdClass::$sideRectangleMobileLabel in path/to/my/streamer/site/plugin/ADs/ADs.php(300) : eval()'d code on line 1

[12-Mar-2023 15:17:50 Europe/Warsaw] PHP Warning: Attempt to read property "value" on null in path/to/my/streamer/site/plugin/ADs/ADs.php(305) : eval()'d code on line 1

[12-Mar-2023 15:17:50 Europe/Warsaw] PHP Warning: Undefined property: stdClass::$leaderBoardTop2Mobile in path/to/my/streamer/site/plugin/ADs/ADs.php(305) : eval()'d code on line 1

[12-Mar-2023 15:17:50 Europe/Warsaw] PHP Warning: Undefined property: stdClass::$leaderBoardTop2MobileLabel in path/to/my/streamer/site/plugin/ADs/ADs.php(300) : eval()'d code on line 1

KrzysioMisio commented 1 year ago

this update helped

These yesterday's updates are unnecessary and I deleted them and uploaded old files

https://github.com/WWBN/AVideo/commit/d50a618c4104d80025facd13f7af3e168fd23686 https://github.com/WWBN/AVideo/commit/12a47cb43e7b13e1496f7be07d43df5ce374227a

DanielnetoDotCom commented 1 year ago

again you cannot manege your version without the git pull otherwise you will have unpredictable problems

KrzysioMisio commented 1 year ago

the point is that why make changes that did not give anything, because you were looking for errors where there were none

DanielnetoDotCom commented 1 year ago

Sorry I am not willing to respond this

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.