WordPress.org

Ready to get started?Download WordPress

Forums

Role Scoper
Plugin generates lots of Strict Standards Notices (2 posts)

  1. djeyewater
    Member
    Posted 1 year ago #

    The Role Scoper plugin generates quite a few strict standards PHP notices, mostly to do with non static methods being called statically: http://pastebin.com/7Lr156K7

    These can be fixed by just declaring the methods as static. The other notices about overridden methods needing to be compatible are a bit more tricky.

    http://wordpress.org/extend/plugins/role-scoper/

  2. Nomina
    Member
    Posted 11 months ago #

    As a followup to djeyewater's post, I just upgraded to WordPress 3.6, and am getting the following strict standards notices when WP_DEBUG is set to true:

    Strict Standards: Non-static method WP_Cap_Helper_CR::establish_status_caps() should not be called statically in .../role-scoper_init.php on line 99
    
    Strict Standards: Non-static method WP_Cap_Helper_CR::force_distinct_post_caps() should not be called statically in .../role-scoper_init.php on line 100
    
    Strict Standards: Non-static method WP_Cap_Helper_CR::force_distinct_taxonomy_caps() should not be called statically in .../role-scoper_init.php on line 101
    
    Strict Standards: Declaration of CR_Data_Sources::add() should be compatible with & AGP_Config_Items::add($name, $defining_module, $args = Array) in .../data_sources_rs.php on line 7
    
    Strict Standards: Declaration of CR_Taxonomies::add() should be compatible with & AGP_Config_Items::add($name, $defining_module, $args = Array) in .../taxonomies_rs.php on line 7
    
    Strict Standards: Declaration of CR_Capabilities::add() should be compatible with & AGP_Config_Items::add($name, $defining_module, $args = Array) in .../capabilities_rs.php on line 7

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.