Blesta Addons Posted February 21, 2020 Report Share Posted February 21, 2020 in a test server with 4.8.1 i see alot of this notices in logs E_NOTICE: Undefined property: Cron::$Session {"code":8,"message":"Undefined property: Cron::$Session","file":"/home/xxxxx/public_html/app/app_controller.php","line":0} Uncaught Exception Error: "Call to a member function read() on null" at /home/xxxx/public_html/app/app_controller.php line 0 {"exception":"[object] (Error(code: 0): Call to a member function read() on null at /home/xxxxx/public_html/app/app_controller.php:0)"} php used 7.2 Quote Link to comment Share on other sites More sharing options...
Tyson Posted February 21, 2020 Report Share Posted February 21, 2020 That's a bit of a strange one since the line referenced is 0. My guess is that you may have a cron task running via CLI that tries to read from the Session without initializing the Session first (i.e. assuming it is already loaded). Do you have any custom cron tasks in your system? Perhaps some created by plugins/modules? One of those may be the cause. Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted February 22, 2020 Author Report Share Posted February 22, 2020 On 2/21/2020 at 7:21 PM, Tyson said: That's a bit of a strange one since the line referenced is 0. any ioncube coded file return a line 0 in any error. On 2/21/2020 at 7:21 PM, Tyson said: My guess is that you may have a cron task running via CLI that tries to read from the Session without initializing the Session first (i.e. assuming it is already loaded). Do you have any custom cron tasks in your system? Perhaps some created by plugins/modules? One of those may be the cause. we have reinstalled the test server, now is a fresh install without any custom plugin/module . the plugins installed is core plugin (support/order/Mass Mailer). Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted February 22, 2020 Author Report Share Posted February 22, 2020 disabled all plugins/modules cron, still the error appear in the logs. Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted February 22, 2020 Author Report Share Posted February 22, 2020 disabled all core plugins, still the error appear .(disabled crons tach not the cron it self) running the cron with error reporting -1 is showing the error when i run the corn command via ssh . Quote Link to comment Share on other sites More sharing options...
Tyson Posted February 24, 2020 Report Share Posted February 24, 2020 If you run the cron manually with error reporting enabled, do you receive a stack trace too? If so, that would be useful to see as well. Quote Link to comment Share on other sites More sharing options...
Jono Posted February 28, 2020 Report Share Posted February 28, 2020 Any chance this installation is in maintenance mode? That is the only circumstance I've found that can account for this error. Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted March 3, 2020 Author Report Share Posted March 3, 2020 On 2/28/2020 at 10:53 PM, Jono said: Any chance this installation is in maintenance mode? That is the only circumstance I've found that can account for this error. is true. Quote Link to comment Share on other sites More sharing options...
Jono Posted March 4, 2020 Report Share Posted March 4, 2020 CORE-3520 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.