• After installing the plugin, an entry appears (После установки плагина, появляется запись):
    “Warning: syslog() has been disabled for security reasons in /home/…/wp-content/plugins/user-role-editor/includes/classes/base-lib.php on line 55”

    WorldPress – 5.2.2 PHP – 5.6
    foto – http://prntscr.com/oiwma7

    • This topic was modified 6 years, 10 months ago by cardanius.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    Thanks a lot for this bug report.
    URE tries to write to syslog a message:
    “Lib class does not have such property current_role”.

    Quick fix: replace line #281 at /includes/classes/view.php
    from

    
    $current_role = $this->lib->get('current_role');
    

    to

    
    $current_role = $this->editor->get('current_role');
    

    I will include this fix to the next update.

    Thread Starter cardanius

    (@cardanius)

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error – Warning: syslog()’ is closed to new replies.