bug, clashes with other pugins !
-
In the file maxgalleria.php at line 623 you have a function group_attachments
which is one of the most irresponsible functions i’ve seen for many a year.
Have just spent 3 hours debugging why the media grid function hangs.Have finally found out the reason, if any other plug in, is using a groupby clause in there sql, your function will break it.
Because you dont check !!!!!!!!!!!!!!!!
So you get a sql query with
GROUP BY wp_posts.ID guidwhich surprise, surprise DOES NOT WORK !
In this case, was clashing with the “Enhanced Media Library” pluginIf you are going to add / change base functionality, it would help if you remember that you are not the only plugin in the world.
Have now changed this to
public function group_attachments($groupby) {
if ($groupby != ”) {
$groupby .= ” , guid”;
} else {
$groupby .= ” guid”;
}
return $groupby;
}
Will see if this works
- The topic ‘bug, clashes with other pugins !’ is closed to new replies.