Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

[Kohana_Email] Email with attachment using queue #10

Hi

I'm using Kohana Email module with queue.

After attaching files I get error, without attachments works fine. Any ideas ??

email object is serialized and then unserialized.

2019-01-26 19:26:51 --- CRITICAL: ErrorException [ 2 ]: unserialize() [function.unserialize]: Function spl_autoload_call() hasn't defined the class it was called for ~ MODPATH\email\classes\Kohana\Email.php [ 558 ] in :
2019-01-26 19:26:51 --- DEBUG: #0 [internal function]: Kohana_Core::error_handler(2, 'unserialize() [...', '.......', 558, Array)
#1 \modules\email\classes\Kohana\Email.php(558): unserialize('O:5:"Email":1:{...')

  • replies 1
  • views 2K
  • likes 0
#2

I suppose that inside your serialized string there is a reference to a class not loaded yet, so the system will try to autoload the class then. You should check inside the serialized string what class are being called and go from there. One solution is to try to include the called class before unserialize the string.