Popularity Posts Widget
[resolved] PHP Notices found (2 posts)

  1. vbalanarayan
    Posted 2 years ago #


    I get a few PHP Notices both on admin side and the website.
    I do not know whether they are critical, but thought would let you know, which might help in future releases as well.
    And I also do not know whether the notices arise only for me. I am running it in localhost in MAMP environment.
    But the hits are correctly stored in the database tables.

    Admin side:
    Undefined index: show_cat in ..(path)/class_popularity-posts-widget.php on line 99
    and on line 104
    Undefined index: show_thumbs in ..(path)/class_popularity-posts-widget.php on line 153 and on line 158

    Website :
    Undefined index: show_cat in ..(path)/class_popularity-posts-widget.php on line 248
    Undefined variable: cat_res in ..(path)/class_popularity-posts-widget.php on line 265
    Undefined index: date_format in ..(path)/style/style-one.php on line 16
    Undefined index: show_thumbs in ..(path)/style/style-one.php on line 19

    Let me know, if I am doing anything incorrectly.


  2. Mihail
    Plugin Author

    Posted 2 years ago #

    Very soon I release new version of plugin withouse this notices.
    This notices is not critical and appears only if wp_debug in wp_config.php is set to TRUE or PHP is set to error_reporting(E_ALL).
    But thanks anyway and sorry for late answer.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Popularity Posts Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.