By Daniel Pierce on Friday, 11 December 2015
Posted in Technical Issues
Replies 1
Likes 0
Views 634
Votes 0
EasySocial Support,

I just installed ES V1.4.5 and I'm now getting the following error message on the timeline.

Warning: Invalid argument supplied for foreach() in /var/www/html/media/com_easysocial/apps/fields/user/multilist/multilist.php on line 33

It looks like it is coming from the App that I created to show additional information on ES canvas, so I selected the App and got the following error message.
___________________________________________________________________

Strict Standards: Declaration of HealthStatusViewCanvas::display() should be compatible with SocialAppsView::display($tpl = NULL, $docType = NULL) in /var/www/html/media/com_easysocial/apps/user/healthstatus/views/canvas/view.html.php on line 33

Notice: Constant DS already defined in /var/www/html/media/com_easysocial/apps/user/healthstatus/themes/default/canvas/default.php on line 13
___________________________________________________________________

NOW, this App was working just fine in V1.4.4, so what has changed or what do I need to change in the app to get it to work without the error condition. Point me in the right direction and I will change the app so it continues to work with ES.

Let me know if you want a copy of the APP to test with and I can send you the zip package.

Thanks
Dan
Hey Daniel,

This is the SocialAppsView::display definition:


public function display( $tpl = null , $docType = null )


Any child classes that inherits from SocialAppsView needs to follow the same function definition.
·
Friday, 11 December 2015 13:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post