Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter jcurtis-lbc

    (@jcurtis-lbc)

    Thank you for your prompt attention on this! Everything seems to be working again now with 2.2.1. I’ll mark this topic as resolved!

    I can confirm this is occurring for me as well and I don’t think it has to do with an SMTP plugin. What I have noticed when setting the Reply-to option by using the “picker” UI to select the {email-1} field (I am using the “Contact Us form template) an extra space is inserted before the opening curly brace. Once you go in and manually delete that extra space, the Reply-To field gets set in the submissions sent by the form.

    Thread Starter jcurtis-lbc

    (@jcurtis-lbc)

    One simple question: why did my script always work prior to your v.2.0 release? There’s nothing unusual about my install script (I can provide it to you if you’re interested). It installs the WP core first, then installs all the plugins (including yours) and activates them, sets various plugin options, then installs the theme and activates it, etc.

    This always worked before your 2.0 release. And I’ve never encountered errors like this trying to set plugin options with any other plugin in this fashion. When you say I am loading things in the incorrect order, you are essentially telling me that from 2.0 on, the only way the bpfwp-settings option in the database can get created is if I manually log in to the WP install after the script has run and manually set the options in your plugin’s settings screen and hit “Save”. Then the option will exist in the database.

    I am not a complete expert on WordPress plugin development, and I realize most of your users are probably not going to be affected by this, but I believe these errors are indicating that perhaps some best practices haven’t been followed in the 2.0 release. So that is why I am calling it to your attention.

    In any event, I have figured out a workaround for my purposes: I simply modified the install script to install v.1.2.9 first, then I set the bpfwp-settings option, and then I update the plugin to the latest version. That’s working for me.

    Thread Starter jcurtis-lbc

    (@jcurtis-lbc)

    That fixed it! Thanks for your prompt attention to this. It is greatly appreciated!

    Thread Starter jcurtis-lbc

    (@jcurtis-lbc)

    WP-CLI is breaking on my local machine (running VVV) as well. I get the same error output in addition to this:

    PHP Notice: Trying to get property ‘cpts’ of non-object in /srv/www/website/public_html/wp-content/plugins/business-profile/includes/class-schemas-manager.php on line 58
    Notice: Trying to get property ‘cpts’ of non-object in /srv/www/website/public_html/wp-content/plugins/business-profile/includes/class-schemas-manager.php on line 58
    PHP Notice: Trying to get property ‘schema_cpt_slug’ of non-object in /srv/www/website/public_html/wp-content/plugins/business-profile/includes/class-schemas-manager.php on line 58
    Notice: Trying to get property ‘schema_cpt_slug’ of non-object in /srv/www/website/public_html/wp-content/plugins/business-profile/includes/class-schemas-manager.php on line 58
    PHP Notice: Trying to get property ‘permissions’ of non-object in /srv/www/website/public_html/wp-content/plugins/business-profile/includes/class-settings.php on line 538
    Notice: Trying to get property ‘permissions’ of non-object in /srv/www/website/public_html/wp-content/plugins/business-profile/includes/class-settings.php on line 538

    Maybe that helps?

    Thread Starter jcurtis-lbc

    (@jcurtis-lbc)

    Changing that line did not fix it. I am surprised that as WordPress plugin developers you have *no* experience with wp-cli?: https://wp-cli.org/

    Do you use some other comparable command line tool?

    Anyway, it doesn’t matter what command/operation I try, the same error output gets generated. Here is an example with the complete stack trace:

    $ wp option get home
    Fatal error: Uncaught Error: Call to a member function check_permission() on null in /home/cpaneluser/public_html/[domain.com]/wp-content/plugins/business-profile/includes/class-settings.php:538
    Stack trace:
    #0 /home/cpaneluser/public_html/[domain.com]/wp-includes/class-wp-hook.php(288): bpfwpSettings->load_settings_panel(”)
    #1 /home/cpaneluser/public_html/[domain.com]/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #2 /home/cpaneluser/public_html/[domain.com]/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /home/cpaneluser/public_html/[domain.com]/wp-settings.php(523): do_action(‘init’)
    #4 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1237): require(‘/home/cpaneluser…’)
    #5 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1158): WP_CLI\Runner->load_wordpress()
    #6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
    #7 phar:///usr/local/bin/wp/v in /home/cpaneluser/public_html/[domain.com]/wp-content/plugins/business-profile/includes/class-settings.php on line 538
    Error: There has been a critical error on your website.Learn more about debugging in WordPress. There has been a critical error on your website.

    Thanks for the update. I have manually updated to the new version you just pushed out. Do you have any idea why this plugin is still breaking wp-cli on all of the websites I have this plugin installed on?

    Here is the error I am getting:

    Fatal error: Uncaught Error: Call to a member function check_permission() on null in /public_html/domain.com/wp-content/plugins/business-profile/includes/class-settings.php:538

    Thread Starter jcurtis-lbc

    (@jcurtis-lbc)

    Sorry, for the late reply, but thanks for fixing this!

    Thread Starter jcurtis-lbc

    (@jcurtis-lbc)

    Oops. My mistake. I see that “closed” will display if you do not opt to have the hours displayed one one line.

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