WordPress.org

Forums

[Plugin: Last.FM Events] Fatal error with snoopy (2 posts)

  1. selbic
    Member
    Posted 4 years ago #

    Fatal error: Cannot instantiate non-existent class: snoopy in /home/c/comeus.de/public_html/blog/wp-content/plugins/lastfm-events/lfm_events.php on line 48

    http://wordpress.org/extend/plugins/lastfm-events/

  2. svenett
    Member
    Posted 4 years ago #

    You have to put the Snoopy PHP file on your server and then put a line in the code declaring where it is. After the comments section, include this line of code: include "Snoopy.class.php";

    Example:

    You should have received a copy of the GNU General Public License
    along with this program. If not, see <http://www.gnu.org/licenses/>.

    */

    include "Snoopy.class.php";

    // You can edit this, but I don't suggest making it too often
    define('LFE_CACHE_AGE', 60 * 60); // In seconds, so this is 1 hour (60 minutes). No need to check more frequently than this.
    define('LFE_CACHE', 'lfe_cached_events');
    define('LFE_OPTIONS', 'widget_lfe');

    The Snoopy.class.php file is located here.

Topic Closed

This topic has been closed to new replies.

About this Topic