0
1 Comment

Tried with default theme: NO

Tried with all other plugins disabled: Yes

Browser version: Firefox, Opera, Safari, Epic

Debug Info:

ARVE:               9.5.14
ARVE Pro:           5.1.17 INACTIVE
ARVE AMP:           NOT INSTALLED
ARVE Sticky Videos: NOT INSTALLED
ARVE Random Video:  NOT INSTALLED
WordPress Version:  5.8.1
PHP Version:        7.4.22
REST URL:           https://mypatriotsnetwork.com/wp-json/nextgenthemes_arve/v1

ACTIVE PLUGINS:
AffiliateWP: 2.7.6
AffiliateWP - Affiliate Dashboard Sharing: 1.2
AffiliateWP - Direct Link Tracking: 1.2.1
AffiliateWP - REST API Extended: 1.1
AffiliateWP - Signup Referrals: 1.1
Akismet Anti-Spam: 4.2.1
ARVE Advanced Responsive Video Embedder: 9.5.14
BuddyBoss Platform: 1.7.7.1
BuddyBoss Platform Pro: 1.1.4
CDN Enabler: 2.0.4
Conditionally display featured image on singular pages and posts: 2.9.0
Conditional Menus: 1.1.9
Convert Pro: 1.7.4
Convert Pro - Addon: 1.5.5
Disable Gutenberg: 2.5.1
Elementor: 3.4.5
Elementor Pro: 3.4.2
Embed Plus for YouTube Pro - Embed a YouTube Gallery, Channel, Playlist, Live Stream, Facade: 14.0
Export Users Data CSV: 1.1
GamiPress: 2.1.2
GDPR Cookie Consent: 2.0.6
Google Tag Manager for Wordpress: 1.13.1
Gravity Forms: 2.5.12
Gravity Forms User Registration Add-On: 4.8
Gravity Forms Zapier Add-On: 4.1
Hide Admin Bar From Front End: 2.8.0
Manage Notification E-mails: 1.8.0
NinjaFirewall (WP+): 4.4
NinjaScanner: 3.0.9
Post Duplicator: 2.23
Quiz And Survey Master: 7.3.4
Redis Object Cache: 2.0.21
Referrer Affiliate Table: 1.0.0
Sassy Social Share Premium: 1.1.36
Shortcode Widget: 1.5.3
Styler for WPForms: 2.0.3
UpdraftPlus - Backup/Restore: 2.16.62.25
User Role Editor Pro: 4.60.2
View Admin As: 1.8.7
Website File Changes Monitor: 1.8.1
White Label CMS: 2.2.4
WP-Optimize Premium - Clean, Compress, Cache: 3.1.12
WP-UserOnline: 2.87.6
WP fail2ban (Premium): 4.3.2.2
WPForms: 1.7.0
WPForms GetResponse: 1.4.0
WPForms User Registration: 1.3.3
WPForms Zapier: 1.3.0
WP Mail SMTP Pro: 3.1.0
Yoast SEO: 17.3
Zapier for WordPress: 1.0.2


ARVE Options:
array(1) {
  ["mode"]=>
  string(8) "lazyload"
}

Dismissed Notices:
array(0) {
}

oembed_dataparse:
Array
(
    [0] => Array
        (
            [id] => wp_filter_oembed_iframe_title_attribute
            [priority] => 5
            [function] => wp_filter_oembed_iframe_title_attribute
            [accepted_args] => 3
            [file] => /var/www/mypatriotsnetwork.com/htdocs/wp-includes/embed.php
            [line] => 813
        )

    [1] => Array
        (
            [id] => wp_filter_oembed_result
            [priority] => 10
            [function] => wp_filter_oembed_result
            [accepted_args] => 3
            [file] => /var/www/mypatriotsnetwork.com/htdocs/wp-includes/embed.php
            [line] => 880
        )

    [2] => Array
        (
            [id] => 0000000002f73fad000000003a319bbe_strip_newlines
            [priority] => 10
            [function] => Array
                (
                    [0] => WP_oEmbed
                    [1] => _strip_newlines
                )

            [accepted_args] => 3
            [file] => /var/www/mypatriotsnetwork.com/htdocs/wp-includes/class-wp-oembed.php
            [line] => 735
        )

    [3] => Array
        (
            [id] => 0000000002f72799000000003a319bbeuse_custom_iframe_sandbox_attribute
            [priority] => 20
            [function] => Array
                (
                    [0] => BP_Activity_oEmbed_Extension
                    [1] => use_custom_iframe_sandbox_attribute
                )

            [accepted_args] => 3
            [file] => /var/www/mypatriotsnetwork.com/htdocs/wp-content/plugins/buddyboss-platform/bp-activity/classes/class-bp-activity-oembed-extension.php
            [line] => 213
        )

    [4] => Array
        (
            [id] => NextgenthemesARVEfilter_oembed_dataparse
            [priority] => 9223372036854775807
            [function] => NextgenthemesARVEfilter_oembed_dataparse
            [accepted_args] => 3
            [file] => /var/www/mypatriotsnetwork.com/htdocs/wp-content/plugins/advanced-responsive-video-embedder/php/functions-oembed.php
            [line] => 15
        )

)

embed_oembed_html:
Array
(
    [0] => Array
        (
            [id] => NextgenthemesARVEfilter_embed_oembed_html
            [priority] => -5
            [function] => NextgenthemesARVEfilter_embed_oembed_html
            [accepted_args] => 4
            [file] => /var/www/mypatriotsnetwork.com/htdocs/wp-content/plugins/advanced-responsive-video-embedder/php/functions-oembed.php
            [line] => 35
        )

)

The PHP error log is filled with [16-Oct-2021 14:46:09] WARNING: [pool www-php74] child 20020 said into stderr: “NOTICE: PHP message: PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /var/www/mypatriotsnetwork.com/htdocs/wp-content/plugins/advanced-responsive-video-embedder/php/functions-shortcodes.php:145”

The stack trace is above .. that message is repeated — Apparently that error occurs whenever we try to display the buddyboss user profile edit page and it will not display. 

I tried the previous version of the plugin 9.5.12 and got the same results. 

There is no ARVE shortcode in that page that is failing.. but the error above precedes the error that causes the page to fail to load .. removing the plugin fixes the problem. 

Here is the error in its entirety .. the last line #8 is the page trying to load .. but that page has no video .. 

2021/10/17 03:12:07 [error] 5549#5549: *1733520 FastCGI sent in stderr: “PHP message: PHP Warning: Illegal string offset ‘provider’ in /var/www/mypatriotsnetwork.com/htdocs/wp-content/plugins/advanced-responsive-video-embedder/php/functions-shortcodes.php on line 137PHP message: PHP Warning: Illegal string offset ‘origin_data’ in /var/www/mypatriotsnetwork.com/htdocs/wp-content/plugins/advanced-responsive-video-embedder/php/functions-shortcodes.php on line 145PHP message: PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /var/www/mypatriotsnetwork.com/htdocs/wp-content/plugins/advanced-responsive-video-embedder/php/functions-shortcodes.php:145
Stack trace:
#0 /var/www/mypatriotsnetwork.com/htdocs/wp-includes/shortcodes.php(356): Nextgenthemes\ARVE\{closure}()
#1 [internal function]: do_shortcode_tag()
#2 /var/www/mypatriotsnetwork.com/htdocs/wp-includes/shortcodes.php(463): preg_replace_callback()
#3 /var/www/mypatriotsnetwork.com/htdocs/wp-includes/shortcodes.php(225): do_shortcodes_in_html_tags()
#4 /var/www/mypatriotsnetwork.com/htdocs/wp-includes/class-wp-hook.php(303): do_shortcode()
#5 /var/www/mypatriotsnetwork.com/htdocs/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#6 /var/www/mypatriotsnetwork.com/htdocs/wp-includes/post-template.php(253): apply_filters()
#7 /var/www/mypatriotsnetwork.com/htdocs/wp-content/themes/buddyboss-theme/template-parts/content-buddypress.php(38): the_content()
#8 /var/www/mypatriotsnetw” while reading response header from upstream, client: 98.225.52.238, server: mypatriotsnetwork.com, request: “GET /members/betterjetter/profile/edit/group/1/ HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php/php74-two-fpm.sock:”, host: “mypatriotsnetwork.com”, referrer: “https://mypatriotsnetwork.com/members/betterjetter/”

Posted new comment

at line 145 I added if (! in_array(‘origin_data’,$a) ) return ; and that fixed the problem. i do not see how this will cause any other problem. So it might just be all you need ..