ianuarius85 (@ianuarius85)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • In reply to: PHP Deprecated

    ianuarius85
    Blocked

    @ianuarius85

    Yea, sorry. I get a bit rude when people first don’t listen to what I say, then send me to a wild goose chase for some non-existent solutions to problems they invented for me. I don’t feel I’m entitled to anything. But if the free support I get just ends up wasting my time because the free help didn’t feel enticed to read past first three words, then it’s not a matter of entitlement.

    I’m asking if there happens to be someone who happens to know the solution to my issue. If you don’t have an answer, then don’t feel obligated to invent something. It really isn’t helping anyone.

    In reply to: PHP Deprecated

    ianuarius85
    Blocked

    @ianuarius85

    I already have WP_DEBUG_DISPLAY as false. I don’t know why you’d think I didn’t.

    Like I already said, I don’t want these Deprecated messages logged, because they make reading the logs very difficult.

    I’m also already using bbp style pack. You say there are fixes for the loader errors. Where are they? There’s like 50 tabs in the plugin. If you say it exists, I believe you, but I sure couldn’t find it.

    Cheers.

    In reply to: PHP Deprecated

    ianuarius85
    Blocked

    @ianuarius85

    I’m getting the same message trying to add a new role.

    function add_vahennetyt_role() {
        $subscriber = get_role('subscriber'); 
    
        add_role(
            'vahennetyt_oikeudet',
            __('Vähennetyt oikeudet'),
            $subscriber->capabilities
        );
    
        $role = get_role('vahennetyt_oikeudet');
        if ($role) {
            $role->remove_cap('edit_posts');
        }
    }
    add_action('wp_loaded', 'add_vahennetyt_role');

    Sure, it’s not an error, but I’m getting like 6 of these lines every time anyone loads any page.

    [12-Jun-2024 07:47:34 UTC] PHP Deprecated:  Creation of dynamic property BBP_Forums_Component::$members is deprecated in /home/.../public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php on line 149
    [12-Jun-2024 07:47:36 UTC] PHP Deprecated:  Creation of dynamic property BBP_Forums_Component::$members is deprecated in /home/.../public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php on line 149

    I’d appreciate it, if I could see all the actual errors and warnings in my logs and not have to slog through these un-messages.

    Cheers.

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