[Resolved] [Plugin: Media Tags] Page with Media Tags fails to load
I have a page http://philadelphia.foobooz.com/flyer-flow/ with the quick tag [media-tags media_tags=”ff-test”] on it.
The page does not fully load. It seems to fail when the media tags is called and no more detail is shown on the page.
The media tags tag page does display. http://philadelphia.foobooz.com/media-tags/ff-test/
I initially installed Media Tags with WP 3.0.4.
That had even more problems as the wp-admin Media Tags page would not load.
I realized that is not a supported config so I have since upgraded to WP 3.2.1. Now I can see the Media Tags admin pages but cannot see the flyer-flow page.
I tried to delete and reinstall Media Tags but to no avail.
I have tried multiple themes, so this is not a theme issue.
Is there something I can do to try a clean install of Media Tags and to get this working?
Found I’m getting a fatal PHP error: [07-Jan-2012 09:49:56] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 66421 bytes)
There is no clean install option. Media-Tags just creates terms like you have Post Categories and Post Tags. So a cleaning would just mean deleting all Media-Tag term. Look under the Media menu option.
As for the memory issue this is controlled by your hosting. When you call the short code it attempts to build an array off found items tagged with that term. How many images do you have which are tagged ‘ff-test’ Try using the ‘numberposts’ short code parameter to limit the output.
Also, you might try upping your allowed memory for PHP on your hosting.
Thank you very much. It was a memory issue.
I’m now having another issue. The shortcode [media-tags media_tags=”2012″]
seems to only return tagged images on the day they were uploaded. Older images do not display. Is there something to add to the shortcode so all dates are included?
The short code uses many of the same arguments for the get_posts WordPress function http://codex.wordpress.org/Template_Tags/get_posts
So try adding the argument ‘numberposts’ as in
// Shows only the first 100 items.
[media-tags media_tags=”2012″ numberposts=”100″]
// Setting ‘numberposts’ to -1 means show all. No limit
[media-tags media_tags=”2012″ numberposts=”-1″]
- The topic ‘[Resolved] [Plugin: Media Tags] Page with Media Tags fails to load’ is closed to new replies.