I recently upgraded a Drupal 6 website to the current stable version of D6 core (6.26), the current dev version of Views 3 (6.x-3.0+71-dev) and the current dev release of Node Reference Explorer (6.x-1.x-dev). When attempting to use the explorer interface or when trying to view/edit the NRE view, the following error appears on a white screen:

"Fatal error: Class 'views_handler_argument_string' not found in /home/ironware/domains/ironwareinternational.com/public_html/sites/all/modules/views/modules/node/views_handler_argument_node_type.inc on line 5"

The only way I have found to make the view editable is to rename the file views/modules/node/views_handler_argument_node_type.inc to something like views/modules/node/views_handler_argument_node_type.inc.temp which results in the file being skipped. After doing this, the argument settings in the view show Broken or Missing Handler.

Comments

jlmeredith’s picture

Project: Nodereference Explorer » Views (for Drupal 7)
Issue summary: View changes

Update of issue to be more descriptive about what occurs and what actions have been attempted to remedy.

jlmeredith’s picture

Issue summary: View changes

Adding a bounty for this issue!

aze2010’s picture

Project: Views (for Drupal 7) » Nodereference Explorer

subscribing
Using Views 3 and Dev-Version of this Module.

"Fatal error: Class 'views_handler_argument_string' not found in /var/www/sites/all/modules/views/modules/node/views_handler_argument_node_type.inc on line 5"

jeffschuler’s picture

Project: Nodereference Explorer » Views (for Drupal 7)
Version: 6.x-1.x-dev » 6.x-3.x-dev
Priority: Major » Normal
Status: Active » Needs review
StatusFileSize
new509 bytes

This looks like a Views bug.

views_handler_argument_node_type extends views_handler_argument_string, not views_handler_argument.

       'views_handler_argument_node_type' => array(
-        'parent' => 'views_handler_argument',
+        'parent' => 'views_handler_argument_string',
       ),
dawehner’s picture

Status: Needs review » Fixed

Thansk for the patch! Committed it to 6.x-3.xgit commit -m "Issue #1645988 by jeffschuler | jlmeredith: Fixed Fatal error: Class 'views_handler_argument_string()' not found." --author="jeffschuler "

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

bounty removed - client opted to use another approach