Submit Listing Button Not Working

Whenever I clikc on “Submit Listing” button after filling out the listing form and details, it refreshes and stays on the listing form, with the details wiped out, which means the listing was not added.

I had debugged and followed all the similar topics, updated the permalinks, cleared the cache, deactivated all additional plugins but nothing.

This was what I found in the Google console:
POST https://aptconnect.africa/wp-json/hivepress/v1/listings/1684/ 500 (Internal Server Error)

Hi,

If there’s a 500 error, please check the PHP error log - there should be the detailed error message, you can copy and post it here or send it privately via email support@hivepress.io It may be caused by the listing attributes configuration, HivePress settings, or third-party plugins or customizations - please try to disable plugins and customizations first.

I fixed it already by deleting some customized codes I had written in the functions area.

Thank you.