Tagged: Troubleshooting
- AuthorPosts
- June 30, 2021 at 4:38 pm #40008Jade ShelleyGuest
Can you help with this error that is keeping me from using Gravity Forms?
Error Details
=============
An error of type E_ERROR was caused in line 27 of the file /home/terryr6/terrybrothersonexcavating.com/wp-content/plugins/boldgrid-inspirations/includes/class-boldgrid-inspirations-stock-photography.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Boldgrid_Inspirations_Stock_Photography::add_dashboard_media_tabs(), 0 passed in /home/terryr6/terrybrothersonexcavating.com/wp-content/plugins/gravityforms/common.php on line 5638 and exactly 1 expected in /home/terryr6/terrybrothersonexcavating.com/wp-content/plugins/boldgrid-inspirations/includes/class-boldgrid-inspirations-stock-photography.php:27
Stack trace:
#0 /home/terryr6/terrybrothersonexcavating.com/wp-content/plugins/gravityforms/common.php(5638): Boldgrid_Inspirations_Stock_Photography->add_dashboard_media_tabs()
#1 /home/terryr6/terrybrothersonexcavating.com/wp-includes/class-wp-hook.php(292): GFCommon::find_admin_notices(”)
#2 /home/terryr6/terrybrothersonexcavating.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
#3 /home/terryr6/terrybrothersonexcavating.com/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#4 /home/terryr6/terrybrothersonexcavating.com/wp-admin/admin-header.php(147): do_action(‘admin_heJune 30, 2021 at 5:59 pm #40010Jesse OwensKeymasterHi Jade-
Thanks for letting us know, and thanks for using the Inspirations WordPress website builder.
It looks like Gravity Forms is attempting to use some of the functions in BoldGrid Inspirations, but it’s not supplying the correct number of arguments.
I did a little digging, and I was able to find a bug in our code that was partially responsible for the problem, and we’ll release an update to Inspirations soon with a fix.
Right now, you can proceed with using Gravity Forms if you temporarily deactivate BoldGrid Inspirations, or if you make the following change to one of the files in Inspirations.
Locate the file
/wp-content/plugins/boldgrid-inspirations/includes/class-boldgrid-inspirations-stock-photography.php
and edit line number 99.Here’s the original code:
add_action( 'admin_notices', array (
Modify that to this:
add_action( 'admin_menu', array (
- AuthorPosts
- The topic ‘Boldgrid Inpirations error when trying to install Gravity form’ is closed to new replies.