search plugins conflict with hwdmediashare

  • Latino
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 9 months ago - 12 years 9 months ago #1 by Latino
Hi:

Using latest install shows OK settings. However, when using hwdmedishare several PHP Fatal error were detected:

PHP Fatal error: Call to undefined function plgSearchCoursesAreas() in /var/www/html/customers/site/plugins/search/courses/courses.php on line 65, referer: www.site.com/media-gallery

PHP Fatal error: Call to undefined function plgSearchCoursecategoriesAreas() in /var/www/html/customers/site/plugins/search/coursecategories/coursecategories.php on line 64, referer: www.site.com/videos-compledu

PHP Fatal error: Call to undefined function plgSearchCoursetopicsAreas() in /var/www/html/customers/site/plugins/search/coursetopics/coursetopics.php on line 70, referer: www.site.com/videos-compledu


Setup:
Joomdle .92, Jomsocial 3 beta 3, Joomla 3.1.1, PHP 5.4.16, MySQL 5.5.30, Apache 2.4.4
Last edit: 12 years 9 months ago by Latino.

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic search plugins conflict with hwdmediashare
Those are from search plugins, so I don't know what they have to do with hwdmediashare...

It seems it is failing in this line:
if (!array_intersect( $areas, array_keys( plgSearchCoursesAreas() ) )) {

Try changing it by:
if (!array_intersect( $areas, array_keys( $this->plgSearchCoursesAreas() ) )) {

If it works (you get one less error) you will need to do the same in the 3 plugins.

Please Log in or Create an account to join the conversation.

  • Latino
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 9 months ago #3 by Latino
Replied by Latino on topic search plugins conflict with hwdmediashare
Hi:

Sorry for the late reply. First thank you very much! Second, done right now and yes that fixes the issues.

Gracias!

:)

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic search plugins conflict with hwdmediashare
Great, thanks for the feedback. I will include the fix in next release.

Please Log in or Create an account to join the conversation.