i'm currently installing eznewsletter extension and digged through eznewsletter.php in /extension/eznewsletter/classes but my file hasn't so much lines in it .
My Version is from svn: http://svn.ez.no/svn/extensions/eznewsletter/ezp4/trunk as i needed a reference-implementation without ezpkg-stuff around it. I Also wanted to try out eznewsletter with ez 4.0.1...
What Version of ezNewsletter / ezPublish do you have?
According to your errormessage i would shoot into the direction of autoload-array for extensions... Have you added eznewsletter to the extension-autoload-array? (well, i think you have)
Can you post the function / object that causes the errormessage?
I have nearly the same problem like Laurent when I am running the cronjob (php runcronjobs.php -s send_newsletter).
I can send previews of my personnalized newsletters but when I trying to send by using the cronjob, this error message appears :
Archiving newsletter: 18 New "Newsletter issue" newsletter.
PHP Fatal error: Call to a member function attribute() on a non-object in /home/mysite/public_html/extension/eznewsletter/classes/eznewsletter.php on line 583
It is corresponding to :
$newsletter_type = eZNewsletterType::fetch( $newsletterTypeID );
echo $newsletterTypeID; //a line I add to see the ID and It works
$send_date_modifier = $newsletter_type->attribute( 'send_date_modifier' );
$pretext = $newsletter_type->attribute('pretext');
$posttext = $newsletter_type->attribute('posttext');
If someone have some idea or can help me, it would be helpful.
Thanks a lot. Roland