Support » Plugin: External Links - nofollow, noopener & new window » Incompatibility with Artbees Jupiter 6 theme

  • Resolved hansgv

    (@hansgv)


    I use Artbees Jupiter theme. WP External Links has previously worked flawlessly for me but upgrading my theme from 6.2.0 to 6.5.5 breaks my site and causes these errors. What can I do to fix it?

    2020/07/27 08:59:38 [error] 16750#16750: *1114 FastCGI sent in stderr: “PHP message: PHP Fatal error:<span class=”Apple-converted-space”>  </span>Uncaught ArgumentCountError: Too few arguments to function mk_filter_native_widgets(), 3 passed in /var/www/vhosts/myhost.com/wp-includes/class-wp-hook.php on line 287 and exactly 4 expected in /var/www/vhosts/myhost.com/wp-content/themes/jupiter/framework/functions/widgets-filter.php:84
    
    Stack trace:
    
    #0 /var/www/vhosts/myhost.com/wp-includes/class-wp-hook.php(287): mk_filter_native_widgets(‘<section id=”so…’, NULL, ‘social-2’)
    
    #1 /var/www/vhosts/myhost.com/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘<section id=”so…’, Array)
    
    #2 /var/www/vhosts/myhost.com/wp-content/plugins/wp-external-links/libs/fwp/filter-hooks/class-fwp-widget-output.php(73): apply_filters(‘widget_output’, ‘<section id=”so…’, NULL, ‘social-2’)
    
    #3 /var/www/vhosts/myhost.com/wp-content/plugins/wp-external-links/libs/wprun/class-wprun-base.php(255): FWP_Widget_Output_1x0x0->widget_callback(Array, Array)
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WebFactory

    (@webfactory)

    Is that a commercial/pro theme?

    Yes, it’s a commercial theme.

    Plugin Author WebFactory

    (@webfactory)

    Unfortunately, we can’t provide support related to commercial products. You should contact their support. Plus, the error you showed has nothing to do with our plugin. It stems from jupiter/framework/functions/widgets-filter.php:84

    Admittedly I don’t understand much about the internals of WordPress or PHP but it seems to me the theme expects 4 arguments from the plugin while /wp-content/plugins/wp-external-links/libs/fwp/filter-hooks/class-fwp-widget-output.php only provides 3.

    $sidebar_id appears to be the missing argument. Why doesn’t WP External Links provide it? Would there be harm in doing so?

    Sorry if I’m being pesky. I’m just trying to resolve my issue and feel lost when everyone says it’s the other guy’s fault. 🙂

    • This reply was modified 5 days, 21 hours ago by hansgv.
    • This reply was modified 5 days, 21 hours ago by hansgv.
    • This reply was modified 5 days, 21 hours ago by hansgv.
    • This reply was modified 5 days, 21 hours ago by hansgv.
    Plugin Author WebFactory

    (@webfactory)

    Hi,
    Unfortunately, we can’t provide support related to commercial products as we don’t have access to their source code.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.