When a vendor that posted a request tries to accept an offer by clicking on the “Accept Offer” button, they get an error message saying “Something went wrong.” Please see the attachment. I have deactivated all of the plugins except those from Hivepress, the error still appears. Any ideas how I can troubleshoot?
I would appreciate an answer soon so I can work on it over the weekend, as I have a launch date set for next week. Thanks much, you guys are awesome!
Hi,
Please send temporary WP access to support@hivepress.io with details for reproducing this issue, and we’ll check it (please send only the link, without login and password). You can create a temporary access link using this plugin Temporary Login Without Password – WordPress plugin | WordPress.org.
Great, will do, thanks!
I was able to find the problem, the following code snippet found here on the forum was causing the error:
add_filter(
‘hivepress/v1/models/request/attributes’,
function( $attributes ) {
if ( isset( $attributes[‘budget’] ) ) {
$attributes[‘budget’][‘editable’] = false;
$attributes[‘budget’][‘filterable’] = false;
$attributes[‘budget’][‘edit_field’][‘required’] = false;
}
return $attributes;
},
1000
);
Once I deactivated this snippet, everything works fine.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.