• Hello,

    When I attempt to import my list – I get the following error (replace [theme-location] with location of WordPress):
    Fatal error: Class 'BP_XProfile_Group' not found in [theme-location]/wp-content/plugins/import-users-from-csv-with-meta/importer.php on line 26

    Note: I don’t see any guidance on how to format the CSV file.

    Please advise.

    Kind regards,

    • This topic was modified 7 years, 8 months ago by emangham.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @emangham,

    Are you using BuddyPress?

    Hi – are there issues with BuddyPress and extended Profiles? thanks

    Plugin Author Javier Carazo

    (@carazo)

    No, I don’t have news about it.

    Have you got problems?

    Hi – no problems but I was looking at support threads before uploading and testing and saw your question about buddypress because of xprofile_group in original post. Don’t mean to hijack this thread – thanks.

    Plugin Author Javier Carazo

    (@carazo)

    Ok. So no problem?

    Thread Starter emangham

    (@emangham)

    @carazo,

    Hi – yes I have BuddyPress…

    Before I upload (on the plugin page) I get this error:

    
    WordPress database error: [Table 'project-name.g' doesn't exist]
    SELECT DISTINCT g.id FROM g ORDER BY g.group_order ASC
    

    Note: project-name before .g. in the above error is the name of the database…

    Then once I attempt to upload my CSV fails with this error:

    
    Fatal error: Class 'BP_XProfile_Group' not found in [theme-location]/wp-content/plugins/import-users-from-csv-with-meta/importer.php on line 26
    

    Here is a screenshot: https://s000.tinyupload.com/index.php?file_id=15464400509382928677

    sort of just guessing… but it begs the question… is there a group setup in BP_xprofile ?

    you might be trying to add to a table that doesn’t exist – or something else is identifying a missing value

    Plugin Author Javier Carazo

    (@carazo)

    Sorry I cannot see your screenshot.

    Anyway the first problem is not from my plugin.

    The problem is in your database, check for this table.

    The second problem is like you have a problem loading BP classes in the import.

    You have all site, core and plugins updated?

    For anyone else who gets this error (as I did), simple enable Buddypress Extended Profile then import the csv file. You can then disable this afterwards.

    Plugin Author Javier Carazo

    (@carazo)

    @nextrithm,

    Good morning and thanks for your solution.

    I will add it to the documentation tab ??

    @carazo no problem, happy to be of service! thank you for this great plugin!

    Plugin Author Javier Carazo

    (@carazo)

    Look at the Documentation tab:

    If you get some error of this kind: Fatal error: Class ‘BP_XProfile_Group’ please enable Buddypress Extended Profile then import the csv file. You can then disable this afterwards

    ??

    Thanks to you!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Fatal error’ is closed to new replies.