After installing this beta2 version, adding a fasttoggle sticky field in a view and displaying the view on a page, I get a white screen with this error:

Fatal error: Cannot access empty property in [...]/public_html/sites/all/modules/fasttoggle/views/fasttoggle_views_handler_field_node_link.inc on line 38

Note: i have it installed with the latest dev version of Views, which currently also gives trouble with the editablefield module. Might or might not be related.

CommentFileSizeAuthor
#3 views_update.patch3.17 KBnigelcunningham

Comments

Yuri’s picture

A similar but differently formulated error appears on pages that contain a block with that fasttoggle field:

Notice: Undefined index: nid in fasttoggle_views_handler_field_node_link->render() (line 38 of [...]/public_html/sites/all/modules/fasttoggle/views/fasttoggle_views_handler_field_node_link.inc).
Slim Pickens’s picture

I am also getting this message.

I patched FastToggle according to http://drupal.org/node/1227684 to fix the non-appearance of Fasttoggle links in vews.

Today I updated to Views rc3 and my site is white-screening as described here.

There is also an error message appearing on my Admin page:

Notice: Undefined index: nid in fasttoggle_views_handler_field_node_link->render() (line 38 of /public_html/mysite.com/sites/all/modules/fasttoggle/views/fasttoggle_views_handler_field_node_link.inc).

nigelcunningham’s picture

StatusFileSize
new3.17 KB

Please try the patch I'm attaching to this comment. It updates our code to match changes in Views on August 25 (commit 3b779f6cb164e9104f0d3ba4f7e9ccb83ca7478d).

nigelcunningham’s picture

Status: Active » Needs review
nigelcunningham’s picture

Status: Needs review » Closed (fixed)

After some more testing, I'm more satisfied that this patch fixes the issue. (I was a little unsure last night because caching was confusing me).

Committed to git: 059427fb81e49ae6f651c723542513592da15d47

Regards,

Nigel