Title: PHP 8 error
Last modified: March 15, 2021

---

# PHP 8 error

 *  [bob reeves](https://wordpress.org/support/users/bob-reeves/)
 * (@bob-reeves)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-8-error-4/)
 * Hi,
 * I am at present testing all my websites with php 8, unfortunately one of my websites
   uses your plugin (which I am very happy with) and exhibits the following errors.
 *  Warning: Undefined array key “tag” in D:\xampp\htdocs\parkers\wp-
    content\plugins\
   smart-recent-posts-widget\includes\widget.php on line 115
 *  Warning: Undefined array key “cat_exclude” in D:\xampp\htdocs\parkers\wp-
    content\
   plugins\smart-recent-posts-widget\includes\widget.php on line 116
 *  Warning: Undefined array key “tag_exclude” in D:\xampp\htdocs\parkers\wp-
    content\
   plugins\smart-recent-posts-widget\includes\widget.php on line 117
 * Is this something you can help me with please.

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

 *  [Idenovasi](https://wordpress.org/support/users/idenovasi/)
 * (@idenovasi)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-8-error-4/#post-14183709)
 * Undefined means the there is no data yet, you can try re-saving the widget. This
   is not an error, I will address this issue for the next release.
 *  Thread Starter [bob reeves](https://wordpress.org/support/users/bob-reeves/)
 * (@bob-reeves)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-8-error-4/#post-14184541)
 * Hi [@idenovasi](https://wordpress.org/support/users/idenovasi/),
 * Thank you for your swift reply, I had tried re-saving the widget, I had also 
   tried deleting the widget then reinstalling it, all to no avail.
 * I look forward to your next release. I hope it’s not to long.
 * Regards
 * Bob

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

The topic ‘PHP 8 error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/smart-recent-posts-widget_3384ca.
   svg)
 * [Smart Recent Posts Widget](https://wordpress.org/plugins/smart-recent-posts-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-recent-posts-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-recent-posts-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-recent-posts-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-recent-posts-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-recent-posts-widget/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bob reeves](https://wordpress.org/support/users/bob-reeves/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/php-8-error-4/#post-14184541)
 * Status: not resolved