Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter jckuffner

    (@jckuffner)

    I didn't add Feeds Places etc because I can't post that publicly, it's customer data. I'd have to email that to someone.



    PHP Version: 8.2.19
    WP Version: 6.5.3
    WP Language: en_US
    Active Theme:
    HIDDEN SITENAME 1.0
    Outgoing HTTPS requests: Outgoing HTTPS requests are open
    Plugin Version: 3.9
    Settings:
    grw_version: 3.6.1
    grw_active: 1
    grw_async_css:
    grw_google_api_key:
    grw_language:
    grw_activation_time: 1715606134
    grw_auth_code: e4f5c58ed49125e97b0478b0c9a4a0da
    grw_debug_mode:
    grw_feed_ids: 3444
    grw_do_activation:
    grw_demand_assets:
    grw_revupd_cron: 1
    grw_revupd_cron_timeout: 27377
    grw_revupd_cron_log: Executed at 1.71766288844E+12 in 500ms for feeds: 3444
    grw_debug_refresh:
    grw_rev_notice_hide: never
    rplg_rev_notice_show:
    grw_rate_us:

    Widgets: Array
    (
    [_multiwidget] => 1
    )
    1

    Plugins:
    Advanced Custom Fields PRO 6.3.1 (active)
    Akismet Anti-spam: Spam Protection 5.3.2 (active)
    Better Search Replace 1.4.7 (active)
    Blog2Social: Social Media Auto Post & Scheduler 7.5.2 (active)
    CallRail Phone Call Tracking 0.5.3 (active)
    Classic Editor 1.6.3 (active)
    Contact Form 7 5.9.5 (active)
    Contact Form Submissions 1.7.1 (active)
    File Manager Advanced 5.2.4 (active)
    Genesis Blocks 3.1.3
    Imagify 2.2.2 (active)
    Jetpack 13.5 (active)
    Kraken Image Optimizer 2.6.8
    Lazy Load - Optimize Images 2.3.6 (active)
    OptionTree 2.7.3
    Password Protect WordPress Lite 1.9.1
    Plugin for Google Reviews 3.9 (active)
    Post Type Switcher 3.3.1
    Redirection 5.4.2 (active)
    Redirection for Contact Form 7 3.1.5
    UpdraftPlus - Backup/Restore 2.24.3.0 (active)
    WP-Paginate 2.2.2 (active)
    WP Activity Log 5.0.0 (active)
    WP Engine Site Migration 1.1.4 (active)
    WP Engine Smart Plugin Manager 5.18.0 (active)
    WP Image CAPTCHA 3.3.15
    WP Rocket 3.15.8.1
    Yoast Duplicate Post 4.5 (active)
    Yoast SEO 22.8 (active)
    Thread Starter jckuffner

    (@jckuffner)

    I would think the error is coming via https://help.us-themes.com/impreza/us-core/ – see “/plugins/us-core/” in the error log. It’s a commercial plugin to support Zephyr & Impreza VC themes. I’m sure I won’t see an error if I install AWB on a fresh WP copy.

    Thread Starter jckuffner

    (@jckuffner)

    Here is the full message I get on the server:

    Message:
    PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /nas/content/live//wp-content/plugins/advanced-backgrounds/classes/class-vc-extend.php:121\nStack trace:\n#0 /nas/content/live//wp-includes/class-wp-hook.php(309): NK_AWB_VC_Extend->vc_shortcode_output_filter(‘<div class=”vc_…’, Object(US_Shortcodes), ”)\n#1 /nas/content/live//wp-includes/plugin.php(189): WP_Hook->apply_filters(‘<div class=”vc_…’, Array)\n#2 /nas/content/live//wp-content/plugins/us-core/functions/shortcodes.php(259): apply_filters(‘vc_shortcode_ou…’, ‘<div class=”vc_…’, Object(US_Shortcodes), ”, ‘vc_column’)\n#3 /nas/content/live//wp-includes/shortcodes.php(356): US_Shortcodes->__call(‘vc_column’, Array)\n#4 [internal function]: do_shortcode_tag(Array)\n#5 /nas/content/live//wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\\\[(\\\\[?)(vc_col…’, ‘do_shortcode_ta…’, ‘[vc_column][/vc…’)\n#6 /nas/content/live//wp-content/plugins/us-core/templates/elements/vc_row.php(494): do_shortcode(‘[vc_column][/vc…’)\n#7 /nas/content/live//wp-content/plugins/us-core/functions/shortcodes.php(245): require(‘/nas/content/li…’)\n#8 /nas/content/live//wp-includes/shortcodes.php(356): US_Shortcodes->__call(‘vc_row’, Array)\n#9 [internal function]: do_shortcode_tag(Array)\n#10 /nas/content/live//wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\\\[(\\\\[?)(vc_row…’, ‘do_shortcode_ta…’, ‘[vc_row height=…’)\n#11 /nas/content/live//wp-includes/class-wp-hook.php(307): do_shortcode(‘[vc_row height=…’)\n#12 /nas/content/live//wp-includes/plugin.php(189): WP_Hook->apply_filters(‘[vc_row height=…’, Array)\n#13 /nas/content/live//wp-content/plugins/us-core/templates/single.php(45): apply_filters(‘the_content’, ‘<p>[vc_row heig…’)\n#14 /nas/content/live//wp-content/plugins/us-core/functions/helpers.php(142): include(‘/nas/content/li…’)\n#15 /nas/content/live//wp-content/themes/Zephyr/page.php(12): us_load_template(‘templates/singl…’)\n#16 /nas/content/live//wp-includes/template-loader.php(106): include(‘/nas/content/li…’)\n#17 /nas/content/live//wp-blog-header.php(19): require_once(‘/nas/content/li…’)\n#18 /nas/content/live//index.php(17): require(‘/nas/content/li…’)\n#19 {main}\n thrown in /nas/content/live//wp-content/plugins/advanced-backgrounds/classes/class-vc-extend.php on line 121

    I managed to create a workaround by adding declarations to vc_shortcode_output_filter. It seems that since upgrading to php8 $attr does not always arrive as an array. This is what I wrote:

    public function vc_shortcode_output_filter( $output, $obj, $attr ) {
            if ( is_array($attr) ):
                $attr += ['awb_after_vc_row' => 'false'];
            else:
                $attr = array('awb_after_vc_row' => 'false');
            endif;
            if ( $obj->settings( 'base' ) === 'vc_row' ) {
                $attr['awb_after_vc_row'] = 'true';
                $output                  .= NK_AWB_Shortcode::get_shortcode_out( $attr, '' );
            } elseif ( $obj->settings( 'base' ) === 'vc_column' ) {
                $attr['awb_after_vc_column'] = 'true';
                $output                     .= NK_AWB_Shortcode::get_shortcode_out( $attr, '' );
            }
            return $output;
        }

    Hope this helps.

    Thread Starter jckuffner

    (@jckuffner)

    Thanks for your response. I will do some more testing and let you know what I find.

    I’m having the same issue on two different sites.

    Hi @twoelevenjay

    Thanks for responding. We’re using a Storefront child theme. No, I’m not using infinite scroll. For now we’ve decided just to trash the items. I’d like to find out what’s going on so I’m going to set up an additional staging site to figure out if there are specific plugins or theme settings conflicting with the plugin. I’ll let you know what we find out.

    Having the same issue here. I’ll let you know if I figure something out.

    @tokkonopapa – I’m still down to test some time, I was out on vacation the last time I got your request. Please keep in mind for future releases.

    Cheers

    JC

    Done

    @tokkonopapa happy to help you testing for future releases. It’s a good plugin.

    Free is good – and in this day an age you forget you’re working with free software ??

    I run a variety of servers and it’s down on all of them. I think it speaks to larger problems with WordPress – how to manage dozens or hundreds of WP sites effectively, like we do. Perhaps WP needs higher standards and more stringent procedures for plugin updates to keep this from happening.

    I have the same error since updating. It would be nice if plugin authors actually tested their updates before launching them. This happens way too often and makes managing plugins difficult.

    Since I want this plugin to work I commented out the offending section – it’s the method related to localization which I don’t use in the website I have running the plugin.

    public function add_localization() {
    /*$contLDomain = "faqwd";
    $locale = get_locale();
    $path = WP_CONTENT_DIR . '/uploads/Languages_WD/' . explode('/', plugin_basename(__FILE__))[0] . '/faq-wd-' . $locale . '.mo';
    $loaded = load_textdomain($contLDomain, $path);
    if (isset($_GET['page']) && $_GET['page'] == basename(__FILE__) && !$loaded) {
    echo '<div class="error"> Staff Directory WD ' . __('Could not load the localization file: ' . $path, $contLDomain) . '</div>';
    return;
    }*/
    }

    This should do until the plugin is fixed.

    Thread Starter jckuffner

    (@jckuffner)

    Thank you.

    Thread Starter jckuffner

    (@jckuffner)

    function validate in EM_Location class. This is the message:

    $this->add_error( __(‘Location name’,’dbem’).__(” is required.”, “dbem”) );

    I decided to just do this with JQuery for now, hoping the CSS classes won’t change for the message any time soon.

    This is what I ended up doing:

    jQuery(".em-warning p:contains('Location name is required.')").html("Please add a location for the event.");

Viewing 15 replies - 1 through 15 (of 16 total)