• Resolved Chuckie

    (@ajtruckle)


    When I click the new Bug tab it simply shows:

    “There has been a critical error on your website. Please check your site admin email inbox for instructions.”

    I then received a email:


    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, bbp style pack.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Robin W

    (@robin-w)

    ok, you need to enable debugging and then let me know the error

    Plugin Author Robin W

    (@robin-w)

    found and fixed in 4.4.5

    Thread Starter Chuckie

    (@ajtruckle)

    Thanks. Now OK.

    So if I enable your “In bbpress 2.6.x last active time for sub forums may not work correctkly all the time” I can ditch the temporary plugin that we created. Right?

    Note typo: correctkly -> correctly

    Plugin Author Robin W

    (@robin-w)

    yes

    Thread Starter Chuckie

    (@ajtruckle)

    I deactivated my plugin.

    I ticked the option for the refresh fix.

    I clicked save changes.

    But it does not remember my choice and shows both unticked.

    Can we please get it to show the tick option?

    I am not sure if it actually saved my setting because the refresh did not work for “replies” and I activated mine again.

    I don’t think it saved my option.

    Plugin Author Robin W

    (@robin-w)

    thanks, found and fixed in 4.4.6 !

    Thread Starter Chuckie

    (@ajtruckle)

    Thanks. Now when I go to the settings page the option I had ticked is ticked so that is good.

    But, for some reason if I de-activate my plugin and use only yours the refresh does not work right. It only updates the forum the topic is in.

    My plugin cascades the freshness back up the stack to the top level so I have activated mine again. I don’t know why that is.

    Plugin Author Robin W

    (@robin-w)

    thanks I’ll take a look.

    the plugin you’re using is the one from rewweb.co.uk isn’t it ?

    Thread Starter Chuckie

    (@ajtruckle)

    Yes:

    /*
    Plugin Name: bbp Refresh last active time
    Plugin URI: http://www.rewweb.co.uk/
    Description: This plugin reruns a function to update last active time
    Version: 1.0
    Author: Robin Wilson
    Author URI: http://www.rewweb.co.uk
    License: GPL2
    */
    /*  Copyright 2018  PLUGIN_AUTHOR_NAME  (email : [email protected])
    
        This program is free software; you can redistribute it and/or modify
        it under the terms of the GNU General Public License, version 2, as 
        published by the Free Software Foundation.
    
        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.
    
        You should have received a copy of the GNU General Public License  
        along with this program; if not, write to the Free Software
        Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    
    	*/
    
    add_action ('bbp_new_reply_post_extras' , 'rew_run_walker_again' ) ;
    Plugin Author Robin W

    (@robin-w)

    ok, I can’t see an immediate problem

    but in

    bbp-style-pack/includes/functions_bugs.php

    can you try changing line 29

    from

    if ( !empty ($bsp_style_settings_bugs['activate_last_active_time']) && !function_exists ('rew_run_walker_again')) {

    to

    if ( !empty ($bsp_style_settings_bugs['activate_last_active_time']) ) {

    and see if that makes it work ?

    Thread Starter Chuckie

    (@ajtruckle)

    Hi

    It didn’t seem to make a difference. What if you renamed the function? Since you are basically fighting the other plugin that adds the same function with the same name?

    Could it be that deactivating the former plugin is not enough and that I have to delete it?

    Plugin Author Robin W

    (@robin-w)

    function is renamed from rew_ to bsp_

    ok, try changing

    //dont run if they have bbp-last-active-time plugin enabled
    if ( !empty ($bsp_style_settings_bugs['activate_last_active_time']) && !function_exists ('rew_run_walker_again')) {
    add_action ('bbp_new_reply_post_extras' , 'bsp_run_walker_again' ) ;
    }

    to

    //dont run if they have bbp-last-active-time plugin enabled
    //if ( !empty ($bsp_style_settings_bugs['activate_last_active_time']) && !function_exists ('rew_run_walker_again')) {
    add_action ('bbp_new_reply_post_extras' , 'bsp_run_walker_again' ) ;
    //}
    Thread Starter Chuckie

    (@ajtruckle)

    It is odd. I don’t have cache plugins but maybe the server has it”s own cache or something. It doesn’t seem to work.

    I have just reverted to the other plugin as it has worked fine up until now.

    Odd odd.

    Plugin Author Robin W

    (@robin-w)

    ok, fine – thanks for trying anyway

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

The topic ‘Bug tab’ is closed to new replies.