event_manager_past_events v1.0.0

  • I get the following fatal error after installing this plugin:

    "An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'd042e44a.elgg_metadata' doesn't exist"

    Generally, I very much like the idea of this plugin. I hope I get it to work.

    Further info from the fatal error:

    SELECT DISTINCT e.* FROM [myelggdatabasename]_entities e INNER JOIN [myelggdatabasename]_metadata n_table ON n_table.entity_guid = e.guid WHERE (((e.enabled = :qb1) AND (e.deleted = :qb2)) AND ((e.type = :qb3) AND (e.subtype IN (:qb4)))) AND ((n_table.name IN (:qb5)) AND (n_table.value < :qb6)) ORDER BY (SELECT md.value FROM elgg_metadata md WHERE md.entity_guid = e.guid AND md.name = 'event_start') DESC LIMIT 10
    array (
     'qb1' => 'yes',
     'qb2' => 'no',
     'qb3' => 'object',
     'qb4' => 'event',
     'qb5' => 'event_end',
     'qb6' => 1741222461,
    )

  • Make the changes as mentioned here and it should work - https://github.com/valmiki/event_manager_past_events/issues/1

    Or wait for the developer to make those changes a release the updated code.

  • Excellent, thank you. Now it works. :)

Project Info

Stats

  • Category: Events
  • License: GNU General Public License (GPL) version 2
  • Updated: 2025-3-4
  • Downloads: 14
  • Recommendations: 0