By tom on Wednesday, 20 November 2019
Posted in Technical Issues
Replies 1
Likes 0
Views 594
Votes 0
I'm a developer working on a client site that is using EasyBlog. There is a bug in this file:

plugins/user/easyblogusers/easyblogusers.php

The token `EB` is undefined in this file when the file is loaded without the EasyBlog framework, for example when using a sample data seeder for the users table from a CLI script. Adding this code in the header makes sure the token is available however the EasyBlog user plugin is called:

require_once(JPATH_ADMINISTRATOR . '/components/com_easyblog/includes/easyblog.php');

Thank you.
Hi tom,

It is necessary to have the Easyblog framework (or easyblog installed) in order to make this plugin trigger, as you can see in the exist function there is check for the easyblog's file
·
Wednesday, 20 November 2019 10:45
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post