WordPress.org

Ready to get started?Download WordPress

Forums

User Role Editor
[resolved] PHP Error and Fix (4 posts)

  1. mitchell360
    Member
    Posted 11 months ago #

    There is a fatal error in the current build.

    Fatal error: Class 'ure_Advertisement' not found

    Need to add this to ure-options.php:

    require_once(URE_PLUGIN_DIR .'includes/ure-class-advertisement.php');

    http://wordpress.org/extend/plugins/user-role-editor/

  2. Vladimir Garagulya
    Member
    Plugin Author

    Posted 11 months ago #

    It's interesting. Please check information below and help to isolate your problem:

    If you look to user-role-editor.php at line #87, you will see exactly the same code there

    <?php require_once(URE_PLUGIN_DIR .'includes/ure-class-advertisement.php'); ?>

    I can not reproduce your issue.

  3. mitchell360
    Member
    Posted 11 months ago #

    Perhaps my old user-role-editor.php was stuck in cache? At any rate, I just confirmed that, indeed, you are correct.

  4. Vladimir Garagulya
    Member
    Plugin Author

    Posted 11 months ago #

    Thanks of lot for your help.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.