Hi Phillip,
The warning is no longer occurring with version 1.1.
Thanks,
Tim
Thanks Tim
Can you post a link to the version that works?
Philip
It’s the latest version. It’s the only option to download on the plugin page here:
http://wordpress.org/extend/plugins/media-category-library/
Thanks Tim – I download the new version and the error message above has gone. Still scratching my head though…
First I have used [mediacat cats=”Documents,Images” orderby=”date” order=”DESC”] in my search page and I just get a line of headings “Title File Name Caption Date”
I have also tried [mediacatform] and get the following error ” Warning: in_array() expects parameter 2 to be array, null given in /home/content/43/9857443/html/wp-content/plugins/media-category-library/views/search.php on line 10
> Fosternets”
I hope you can help
Philip
Hi Philip,
Generally, you don’t want to show PHP warnings in your browser (errors and warnings should be logged to a file). You can add the line below to your .htaccess to turn off warnings:
php_flag display_errors off
I changed the code so that the in_array warning is no longer occurring. Thanks for the report. Please install version 1.2.
If you only get headings for this shortcode:
[mediacat cats=”Documents,Images” orderby=”date” order=”DESC”]
It suggests that there are no files that have been associated to the Documents and Images categories. Are there definitely files that are associated to these categories?
Hi Philip,
Do you still have issues with the plugin? If so, please let me know. I will mark this topic as resolved for now.
Thanks,
TIm
Hi .. I would like to know in which file an in which function to insert this line.
[mediacat cats=”Documents,Images” orderby=”date” order=”DESC”] or [mediacat cats=”Documents,Images” orderby=”title” order=”ASC”]
THANKS