• Resolved officezen

    (@officezen)


    Upon upgrading my BD Plugin to the latest version 5.5.11, the random listing widget stopped working by diplaying the following warning:

    Warning: Invalid argument supplied for foreach() in /xxx/xxx/public_html/_test/wp-content/plugins/business-directory-plugin/includes/widgets/widget-random-listings.php on line 32

    The other widget: Latest Listing seems to be working fine without any issue.

    Before the plugin upgrade, the version was 4.1.14.1.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’ve noticed this issue as well and hoping for a solution soon.

    Try changing the number of listings to anything but “1”. Two and above works for me.

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi @officezen and @sajay,

    Sorry that you ran into issues here!

    Sounds like you’re upgrading from a very old version of BD. BD 5.5.x requires that you have PHP 5.6 or higher installed, and that error very much looks like you have something older than our minimum required version.

    Can you please confirm that under Directory Admin->Debug, Environment tab?

    If you have something earlier, please ask your web host to upgrade your server to PHP 5.6 or higher. We support anything from 5.6 to the latest PHP 7. WordPress also has this requirement as of WP 5.2, FYI.

    Try that and let me know if you run into more issues.

    Thread Starter officezen

    (@officezen)

    The PHP version is 7.0.

    WordPress version 4.9.12
    OS Linux 4.14.146-225.ELK.el6.x86_64 x86_64
    PHP version 7.0.32
    MySQL version 5.6.41-84.1 ( NO_ENGINE_SUBSTITUTION )
    cURL version 7.19.7
    cURL SSL library NSS/3.27.1

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi @officezen,

    Well, that’s unusual. Something else must be going on here.

    Contact us here with a link to the forum thread so we can go more in depth on this one: http://businessdirectoryplugin.com/contact/

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘random Listing Widget stopped working’ is closed to new replies.