Closed fredericalpers closed 1 year ago
@yeneastgate @dai-eastgate
I guess we need a check for $pFieldsCollection->removeFieldByModuleAndName(onOfficeSDK::MODULE_ESTATE, 'preisAufAnfrage'); in AdminPageSimilarEstates.php and AdminPageEstateDetail.php
@fredericalpers @andernath We will check and fix it.
@fredericalpers @andernath I fixed this bug. Please watch the attached video and let me know your opinions. Thanks!
Current state
After the release of v4.12 we unfortunately found a bug. If the field price on request is deactivated in onOffice enterprise it'll cause an critical error on the detail page tab and similar estate tab in the wordpress backend.
Old PR: #498
Desired state
There has to be a query that makes sure that the field is activated in onOffice enterprise.
Screenshot Critical error
![critical-error](https://github.com/onOffice-Web-Org/oo-wp-plugin/assets/88546396/49e54d8d-3774-419d-8efd-29c57144035c)