• Resolved jpark197

    (@jpark197)


    Hello, I am getting an error when integrating the shortcode via <?php echo do_shortcode(“[apfl_listings]”); ?>

    Warning: Undefined array key “bed” in /wp-content/plugins/listings-for-appfolio/inc/listings.php on line 256

    Warning: Undefined array key “bath” in /wp-content/plugins/listings-for-appfolio/inc/listings.php on line 256

    Line 256:
    <p><img class="bedimg" src="'.$apfl_plugin_url.'images/sleep.png"><span class="beds">'.$db["bed"].'</span> <img class="bathimg" src="'.$apfl_plugin_url.'images/bathtub.png"><span class="baths">'.$db["bath"].' Baths</span></p>

    Thanks in advance

    • This topic was modified 3 years, 2 months ago by jpark197.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jpark197

    (@jpark197)

    Update: I believe this is a php 8+ issue

    Plugin Author Deepak Khokhar

    (@deepakkite)

    Hi @jpark197

    Thanks for reporting the issue. We reviewed and fixed it and published a newer version of the plugin which is 1.1.2.

    Please update the plugin to the latest version and see if the issue is fixed. If you like the plugin, please consider leaving a review so that other users can find this useful.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined Key Array’ is closed to new replies.