Viewing 3 replies - 1 through 3 (of 3 total)
  • We are also having this exact same PHP warning – using the PHP version 5.6 – Interestingly enough I haven’t noticed anything not working. Seems like Hotjar is working just fine and no errors on the website.

    Would like to know how to fix however, as there could be something that isn’t working that I just haven’t noticed yet.

    CircaVista

    Fix is easy:

    Replace Lines 11-17 with:

    if (!empty($rssPosts->item)) {
    			foreach ($rssPosts->item as $key=>$rssPost) {
    				?>
    				<li>
    					<a href="<?php echo (string) $rssPost->link; ?>" target="_blank" class="rsswidget"><?php echo (string) $rssPost->title; ?></a> <span class="rss-date">–?<span class="rss-date"><?php echo date('m.d.y', strtotime($rssPost->pubDate)); ?></span>
    				</li>
    				<?php
    			}
    		}
    Plugin Contributor InternetMedicineMan

    (@internetmedicineman)

    Oddly enough I’m listed as a developer, but when logging in am only “Member” of the site not the plugin itself. So for some reason I never get any updates to anything related to this forum on our plugin.

    Someone sent an email in regards to this issue directly to email, and so we’ve submitted a new version and pushed it out. Thanks Danieliser for the fix you posted for everyone.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP warning in Dashboard’ is closed to new replies.