Hello, everything was working fine until today. I was trying to add a listing to the website through a vendor account, but after filling every detail and clicking on the “Submit” button the page refreshes and nothing happens. No listing is created and also admin is not getting any listing indicator on the admin side bar also. Also tried adding listing as admin but the same error is occurring. What is causing this critical error? Need a fix ASAP.
I already tried:
Deactivating plugins (Cache, etc)
Deactivating/Activating the Hivepress plugin
Clearing Cache
Logging out and logging in.
All these troubleshooting measures are not working.
Activate debugging in your wp.config file.
You have an WSOD, and you should get some useful insights this way.
If everything else fails, you should have a backup to revert to previous state.
I personally schedule backup regularly, to that extent, on top of the one offered by my hosting.
I use Updraft (free), but there are other solutions available.
[10-Jan-2025 19:18:38 UTC] PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/class-wp-editor.php on line 305
[10-Jan-2025 19:19:07 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed in /wp-includes/class-wp-hook.php on line 326 and exactly 2 expected in /wp-content/themes/listinghive-child/functions.php:102
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): {closure}()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-content/plugins/hivepress/includes/forms/class-form.php(395): apply_filters()
#3 /wp-content/plugins/hivepress/includes/controllers/class-listing.php(325): HivePress\Forms\Form->validate()
#4 /wp-includes/rest-api/class-wp-rest-server.php(1292): HivePress\Controllers\Listing->update_listing()
#5 /wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request()
#6 /wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#7 /wp-includes/rest-api.php(449): WP_REST_Server->serve_request()
#8 /wp-includes/class-wp-hook.php(324): rest_api_loaded()
#9 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /wp-includes/plugin.php(565): WP_Hook->do_action()
#11 /wp-includes/class-wp.php(418): do_action_ref_array()
#12 /wp-includes/class-wp.php(813): WP->parse_request()
#13 /wp-includes/functions.php(1336): WP->main()
#14 /wp-blog-header.php(16): wp()
#15 /index.php(17): require('/wp-blog-header.php')
#16 {main}
thrown in /wp-content/themes/listinghive-child/functions.php on line 102
[10-Jan-2025 19:19:08 UTC] PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/class-wp-editor.php on line 305