Hi
after an update to the newest version of Gmedia I could not activate the plugin.
Parse error: syntax error, unexpected T_FUNCTION in …/public_html/wp-content/plugins/grand-media/admin/admin.php on line 37
after puttin // before these 3 lines, I could activate the plugin. Where is the problem? Some syntax error? What do these lines do?
add_filter(‘admin_body_class’, function(){
$gmediablank = isset($_GET[‘gmediablank’])? $_GET[‘gmediablank’] : ”;
return “gmedia-blank $gmediablank”; });
thanks
@mirototh:
This is because PHP version on your server is less then 5.3.
Replace those 3 lines you commented with:
add_filter('admin_body_class', create_function( '', '$gmediablank = isset($_GET["gmediablank"])? $_GET["gmediablank"] : ""; return "gmedia-blank $gmediablank";' ));
@mirototh:
I’ve fixed it in repository. You can download plugin and replace admin.php file via FTP
After updating to the newest version of FLAGallery thumbnails in FLAGallery widget don’t look nice any longer, they seem to have different sizes in the frontend now, although width and height are given in the backend. Is it possible to change back the plugin to an older version?
I looked a little bit more precisely at it, the thumbnails in the widget are the same size but are overlaying. That means they look different, because one thumbnail is laying over its neighbour-thumbnail. Therefore it looks like different sizes. It wasn’t like this before updating.
Latest version should fix problem with widget.
Hi i’ve updated Gmedia gallery to the latest version and it leaves an error message on my website and WP dashboard. All of my files are still there but i don’t want those messages to stay on my website. Can you help me on how can i fix this. Thanks Here’s screenshots of my issue.
I had to deactivate the plugin for these error messages to disappear. I’ve updated the database and still nothing says the same messages on the “manage Gallery” but with Line 30 at the end.
sorry about that. I forgot to disable PHP all error reporting before publish new version. Fixed in 1.2.6
Thank You New version is working great. Is there a way to add a embed link code on the Gmedia Player so other websites can add the player using the embed code?
Just like this:
This possible only via iframe. I’ll think about it and maybe add embed code for galleries in future