• techspecx

    (@techspecx)


    Hello,
    I hope all is well. The plugin worked flawlessy for years but now I am getting the below message when I debug my site. Could you help?

    The plugin works fine when I have the debug off. Thank you.

    Regards,
    Robert

    Warning: Undefined array key “rand” in /var/www/mysite.com/public_html/wp-content/plugins/recent-posts-widget-with-thumbnails/recent-posts-widget-with-thumbnails.php on line 138

    • This topic was modified 2 months ago by techspecx.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kybernetik Services

    (@kybernetikservices)

    Thank you @techspecx for your review. The message is just a warning. Please disable PHP error. You can achieve this by adding the following code to your wp-config.php

    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);

    Regardless, we are constantly working to remove such messages with the upcoming updates.

    If you need further assistance, please open a thread in the Community Support Forum at https://www.ads-software.com/support/plugin/recent-posts-widget-with-thumbnails/.

    Thread Starter techspecx

    (@techspecx)

    Hello,

    Thank you for your quick reply, but I already disabled the message but thank you for your additional information. Keep up the great work on a great plugin.

    Regards,

    Robert

    Plugin Author Kybernetik Services

    (@kybernetikservices)

    @techspecx I have tried to reproduce the error but can not. Where do you get it and which settings do you have for Recent Posts Widget With Thumbnails?

    Please open a thread in the Community Support Forum at https://www.ads-software.com/support/plugin/recent-posts-widget-with-thumbnails/ with some more details to reproduce it. So, I can better handle it. Thanks!

    Thread Starter techspecx

    (@techspecx)

    Hello,
    The message only appears at the bottom of the thumbnail set when I debug the site or set define( 'WP_DEBUG', true ); in the configuration.

    You can see the message in the image here: link to image.

    However, when I change the setting to define( 'WP_DEBUG', false );, the message no longer appears.

    All settings are using the default configurations. Hope this helps.

    Regards,
    Robert

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this review.