Undefined function _simplenews_get_vid and {} missing

scjv - July 23, 2008 - 09:47
Project:RSVP
Version:5.x-1.7
Component:Code
Category:bug report
Priority:normal
Assigned:Omar
Status:closed
Description

If I go to "Manage attendees", get a blank page.

In error_log: "PHP Fatal error: Call to undefined function _simplenews_get_vid() in .../site/all/modules/rsvp/rsvp.module on line 1311, referer: http://site.com/node/XXX/rsvp/create"

Error comes from the updated module Simplenews.
The reason for the error is heir: http://drupal.org/node/258592#comment-844476

Another error: user warning: Table 'site.simplenews_snid_tid' doesn't exist query: SELECT DISTINCT s.mail FROM dp_simplenews_subscriptions s INNER JOIN simplenews_snid_tid t ON s.snid = t.snid WHERE t.tid = 457 ORDER BY mail ASC in /var/www/html/vvvf-leden.dkghosting.nl/includes/database.mysql.inc on line 172.

Missing {} brackets in the request...

Patch is attached.

Sorry for bad English :(

AttachmentSize
rsvp.patch1.03 KB

#1

Omar - July 23, 2008 - 23:55
Status:needs review» reviewed & tested by the community

#2

artis - November 25, 2008 - 21:43

This patch works. Please apply this to the module. Thanks.

#3

Omar - November 30, 2008 - 20:44
Assigned to:scjv» Omar
Status:reviewed & tested by the community» fixed

#4

System Message - December 14, 2008 - 20:51
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.