• Resolved thekyleshort

    (@thekyleshort)


    Hello!

    When trying to use the [wpupg-grid id=”XYZ”] shortcode on a page, I get a Fatal Error as follows:

    Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘Recipes can only be instantiated with a Post object or Post ID.’ in /home/mysite/public_html/wp/wp-content/plugins/wp-ultimate-recipe-premium/core/helpers/models/recipe.php:33 Stack trace: #0 /home/mysite/public_html/wp/wp-content/plugins/wp-ultimate-recipe-premium/premium/addons/wp-ultimate-post-grid/wp-ultimate-post-grid.php(69): WPURP_Recipe->__construct(Object(stdClass)) #1 [internal function]: WPURP_Wp_Ultimate_Post_Grid->output_grid_post(Object(stdClass), Object(WPUPG_Grid)) #2 /home/mysite/public_html/wp/wp-includes/plugin.php(235): call_user_func_array(Array, Array) #3 /home/mysite/public_html/wp/wp-content/plugins/wp-ultimate-recipe-premium/premium/vendor/wp-ultimate-post-grid-premium/core/helpers/models/grid.php(568): apply_filters(‘wpupg_output_gr…’, Object(stdClass), Object(WPUPG_Grid)) #4 /home/mysite/public_html/wp/wp-content/plugins/wp-ultimate-recipe-premium/premium/vendor/wp-ultimate-post-grid-premium/core/helpers/models/ in /home/mysite/public_html/wp/wp-content/plugins/wp-ultimate-recipe-premium/core/helpers/models/recipe.php on line 33

    I have tried deactivating all plugins besides WP Ultimate Recipe Premium, and reverted to Twenty Sixteen theme with no luck. Hopefully I am making a stupid error again, but appreciate the help in advance!

    -Kyle

    https://www.ads-software.com/plugins/wp-ultimate-recipe/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Grid Shortcode Not Working’ is closed to new replies.