• Hi,
    Having an issue where we cannot save any information within a property, it seems to be something to do with the inherited physical address of a unit within a Building. Thoughts on how to fix? Below is the error log when after trying to update/save a property.

    [14-Jul-2018 20:24:42 UTC] PHP Warning: Declaration of RWMB_Wpp_Inherited_Field::show($field, $saved) should be compatible with RWMB_Field::show($field, $saved, $post_id = 0) in /public_html/wp/wp-content/plugins/wp-property/lib/classes/fields/class-wpp-inherited.php on line 13
    [14-Jul-2018 20:24:42 UTC] PHP Fatal error: Uncaught Error: Call to undefined method RWMB_Wpp_Inherited_Address_Field::datalist_html() in /public_html/wp/wp-content/plugins/wp-property/lib/classes/fields/class-wpp-inherited-address.php:39
    Stack trace:
    #0 /public_html/wp/wp-content/plugins/wp-property/lib/features/meta-box/meta-box/inc/field.php(612): RWMB_Wpp_Inherited_Address_Field::html(Array, Array)
    #1 /public_html/wp/wp-content/plugins/wp-property/lib/features/meta-box/meta-box/inc/field.php(67): RWMB_Field::call(Array, ‘html’, Array)
    #2 /public_html/wp/wp-content/plugins/wp-property/lib/features/meta-box/meta-box/inc/field.php(612): RWMB_Field::show(Array, true, 3633)
    #3 /public_html/wp/wp-content/plugins/wp-property/lib/features/meta-box/meta-box/inc/meta-box.php(235): RWMB_Field::call(‘show’, Array, true, 3633)
    #4 /public_html/wp/wp-admin/includes/template.php(1063): RW_Meta_Box->show(Object(WP_Post), Array)
    #5 /home/daylig07/public_html/wp/wp-admin/edit-form-adv in /public_html/wp/wp-content/plugins/wp-property/lib/classes/fields/class-wpp-inherited-address.php on line 39
    [14-Jul-2018 20:24:42 UTC] PHP Warning: Declaration of RWMB_Wpp_Inherited_Field::show($field, $saved) should be compatible with RWMB_Field::show($field, $saved, $post_id = 0) in /public_html/wp/wp-content/plugins/wp-property/lib/classes/fields/class-wpp-inherited.php on line 13

    Thanks,
    John

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter ottomek

    (@ottomek)

    Update with a few more details. WP property version 2.3.5, WP 4.9.7.

    The issue with Property info not saving only seems to occur when we select a ‘Falls Under’ building to make our property a child property. Cannot edit a current child property or add a new child property without data not saving.

    Thoughts? Thanks.
    John

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello.

    Thank you for the update, we are checking the issue. Will update you as soon as possible.

    Regards.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    So you mean you can’t update address field or any field? Check what you have set up for Inherit options in Settings/Developer tab for particular property type – https://screencast.com/t/ySYxaJkW8x1d

    Regards.

    Thread Starter ottomek

    (@ottomek)

    Only when we add a Parent Building in the Falls Under field (and click update) then all the other Property Details get deleted. And the Falls Under building does not save. Here is an image of what gets deleted. https://drive.google.com/open?id=1WZccP-cwOcbhEJfukQBcndIkCkooC15c

    It’s been working for several years, this started happening a few weeks ago.
    – Checked the inherit options and address is inherited from the Parent Building.
    – Some of our properties still have their Parent Building but if we go update them the property data gets deleted.
    – Below is the error log after I clicked update on a Property.
    – Tried php 7.2x, 7.1x, 5.6x on server
    – Checked the plugin files listed below on the server and they match the current version of WP Property.

    [17-Jul-2018 12:58:14 UTC] PHP Fatal error: Uncaught Error: Call to undefined method RWMB_Wpp_Inherited_Address_Field::datalist_html() in /home/daylig07/public_html/wp/wp-content/plugins/wp-property/lib/classes/fields/class-wpp-inherited-address.php:39
    Stack trace:
    #0 /public_html/wp/wp-content/plugins/wp-property/lib/features/meta-box/meta-box/inc/field.php(612): RWMB_Wpp_Inherited_Address_Field::html(Array, Array)
    #1 /public_html/wp/wp-content/plugins/wp-property/lib/features/meta-box/meta-box/inc/field.php(67): RWMB_Field::call(Array, ‘html’, Array)
    #2 /public_html/wp/wp-content/plugins/wp-property/lib/features/meta-box/meta-box/inc/field.php(612): RWMB_Field::show(Array, true, 4052)
    #3 public_html/wp/wp-content/plugins/wp-property/lib/features/meta-box/meta-box/inc/meta-box.php(235): RWMB_Field::call(‘show’, Array, true, 4052)
    #4 /public_html/wp/wp-admin/includes/template.php(1063): RW_Meta_Box->show(Object(WP_Post), Array)
    #5 /public_html/wp/wp-admin/edit-form-adv in /home/daylig07/public_html/wp/wp-content/plugins/wp-property/lib/classes/fields/class-wpp-inherited-address.php on line 39

    Thanks.

    • This reply was modified 6 years, 4 months ago by ottomek.
    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Do you have metabox plugin on your site? Try to disable all third party plugins to investigate the issue.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    We also probably will need you wp-property configuration to replicate that issue, you could download it from Settings/Help tab and send me directly or attach to this issue – https://github.com/wp-property/wp-property/issues/566
    [email protected]

    Regards.

    Thread Starter ottomek

    (@ottomek)

    I’m grasping at straws with these ideas.

    A)I notice in https://www.usabilitydynamics.com/account my domain is https://daylightproperties.com but the site is on https now. I doubt it but would that cause any issue?

    B) In WP Property >> Settings >> Help >> API Registration I only have Secret Token and Generic API Key inputted. The Site ID & Public Key are empty. (This isn’t the Google Maps API in the Settings Main). Should there be keys for these other 2? If yes where do I find these? I don’t see them in https://www.usabilitydynamics.com/account

    John

    Thread Starter ottomek

    (@ottomek)

    Update.

    Just discovered that we can select a Falls Under/parent building if we don’t select a Property Type. All property details will save if we select either a Falls Under or a Property Type but details get deleted if we select both a Falls Under and a Property type.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Ok, thank you for the update, we are checking your configuration and will come back as soon as possible.

    Regards.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘property data does not save and php warning’ is closed to new replies.