Title: Plugin causing PHP Fatal Error on specific pages
Last modified: December 13, 2018

---

# Plugin causing PHP Fatal Error on specific pages

 *  Resolved [wpkmi](https://wordpress.org/support/users/wpkmi/)
 * (@wpkmi)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-causing-php-fatal-error-on-specific-pages/)
 * This error could be related to the specific theme we are using, but I thought
   it might be helpful to add the error output here just in case you find it useful:
 * `PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function 
   wgpb_extra_shortcode_features(), 2 passed in /var/www/wordpress/wp-includes/class-
   wp-hook.php on line 286 and exactly 3 expected in /var/www/wordpress/wp-content/
   plugins/woo-gutenberg-products-block/woocommerce-gutenberg-products-block.php:
   193\nStack trace:\n#0 /var/www/wordpress/wp-includes/class-wp-hook.php(286): 
   wgpb_extra_shortcode_features(Array, Array)\n#1 /var/www/wordpress/wp-includes/
   plugin.php(203): WP_Hook->apply_filters(Array, Array)\n#2 /var/www/wordpress/
   wp-content/themes/salient/nectar/nectar-vc-addons/vc_templates/nectar_woo_products.
   php(96): apply_filters('woocommerce_sho...', Array, Array)\n#3 /var/www/wordpress/
   wp-content/plugins/js_composer_salient/include/classes/shortcodes/shortcodes.
   php(473): include('/var/www/wordpr...')\n#4 /var/www/wordpress/wp-content/plugins/
   js_composer_salient/include/classes/shortcodes/shortcodes.php(453): WPBakeryShortCode-
   >loadTemplate(Array, '')\n#5 /var/www/wordpress/wp-content/plugins/js_composer_salient/
   in in /var/www/wordpress/wp-content/plugins/woo-gutenberg-products-block/woocommerce-
   gutenberg-products-block.php on line 193`
    -  This topic was modified 7 years, 6 months ago by [wpkmi](https://wordpress.org/support/users/wpkmi/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [wpkmi](https://wordpress.org/support/users/wpkmi/)
 * (@wpkmi)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-causing-php-fatal-error-on-specific-pages/#post-10985580)
 * Error is theme specific.

Viewing 1 replies (of 1 total)

The topic ‘Plugin causing PHP Fatal Error on specific pages’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-gutenberg-products-block_71608f.
   svg)
 * [WooCommerce Blocks](https://wordpress.org/plugins/woo-gutenberg-products-block/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-gutenberg-products-block/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-gutenberg-products-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-gutenberg-products-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-gutenberg-products-block/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [wpkmi](https://wordpress.org/support/users/wpkmi/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-causing-php-fatal-error-on-specific-pages/#post-10985580)
 * Status: resolved