after update :
Fatal error: Class 'views_handler_field' not found in /home/teatrocristao/www/drupal/sites/default/modules/token/simplenews/simplenews_views.inc on line 52

}

/**
* A handler to provide proper displays for newsletter send status.
*
* Allows for display of not send/pending/send.
*/
class simplenews_handler_send_status extends views_handler_field {
/**
* Provides status select list
*/
function options_form(&$form, &$form_state) {
$form['status'] = array(
'#type' => 'select',
'#title' => t('Status'),
'#default_value' => $this->data->status['status'],
'#options' => array(
0 => t('Not send'),
1 => t('Pending'),
2 => t('Send'),
),
);
}

http://www.teatrocristao.net/drupal/

Comments

a.mikheychik’s picture

This error now not only with simplenews. I have it with Link module.

chasz’s picture

views is a module killer ;)

karens’s picture

Project: Views (for Drupal 7) » Simplenews
Version: 6.x-2.0-rc2 » 6.x-1.x-dev
Assigned: davikr » Unassigned

This is about the 50th report that there is a problem with the Link module when using the latest Views, look in that issue queue and you will easily see it.

Moving the simplenews issue to the simplenews queue.

The Views API has changed and simplenews needs to catch up, if it hasn't already.

miiimooo’s picture

Priority: Normal » Critical

Same here. First Link, then taxonomy

Fatal error: Class 'views_plugin_argument_validate' not found in /var/www/web56/web/drupal_files/modules/views/modules/taxonomy/views_plugin_argument_validate_taxonomy_term.inc on line 11
Page execution time was 329.05 ms. Executed 18 queries in 66.99 milliseconds.
merlinofchaos’s picture

Status: Active » Closed (won't fix)

/home/teatrocristao/www/drupal/sites/default/modules/token/simplenews/simplenews_views.inc

File that against simplenews module, since that's where the error is.

This error now not only with simplenews. I have it with Link module.

Obviously not, since link.module does not have a file named simplenews_views.inc. That said, either update link.module or file a bug against link.module.

chasz:

I've had enough of you. That comment is not helpful or useful. Please stay out of this issue queue. Also, please read the release notes, wherein it says, UP FRONT, that views api using modules might cease to function.

sutharsan’s picture

Status: Closed (won't fix) » Closed (duplicate)

I fully agree with merlinofchaos and KarinS. This is a Simplenews issue.
Duplicate. See the simplenews issue queue.

chasz’s picture

hey we are learning that you can move issues to the other projects...so dont stress out, poeple are trying to betatest for you.

petiar’s picture

Hey guys,

merlinofchaos, chasz, calm down, please, this doesn't help anyone. The truth is that in the views's release notes there IS a comment saying that the Views API has changed and other modules using this API might be affected in wrong way. I didn't pay attention and both simplenews and link modules are broken on my site, but it is only my fault, so I need to wait for another release of Simplenews and Link.

But one question anyway - I wasn't able to untick the simplenews modules in admin/build/modules because of the error message, so I deleted whole folder. It helped but I don't like this solution - does anybody know how to disable module directly via sql UPDATE command? Thanks.

Petiar

merlinofchaos’s picture

UPDATE system SET status = 0 WHERE name = 'MODULENAME';

sutharsan’s picture

This problem is fixed in simplenews! Use the latest 6.x-1.x-dev and be happy ;)
See: #306622: Class 'views_handler_field' not found

petiar’s picture

well done guys, works fine!

scott859’s picture

Thanks for your work guys, the latest 6.x-1.x-dev version solves this issue.

davikr’s picture

OK
Grato