Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted
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).

Posted

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 .

 

Posted

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.

Posted
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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...