Are you able to upload images on a normal wordpress post? If not, you probably have a file permission issue on your server.
Thread Starter
Dani
(@difluir)
Yes, I am! I can do upload images on a normal wordpress post.
But doesn’t work on plugin. I don’t know why ¬¬
When I click for open the options upload images, he open the post page event again.
I tried do this on 2 different server with wordpress 3.0.1
Ps: sorry, my english is bad.
Not sure I understand where the problem is. Where are you trying to upload an image, for a location, or within the description box in location or event?
If it’s an issue with the description boxes, we’re already aware of a problem there, we’ll be fixing that very soon.
Thread Starter
Dani
(@difluir)
thanks for the screenshot, this is the error we’re aware of, a fix will come soon. For now you could add the image via the media library and use html
I’m also having this problem. Any idea when the fix will come?
Thanks 🙂
this should be fixed in 3.0.8, let us know if not!
It appears so, but a new problem has arisen. On my events page in the front-end, I am getting this error:
Warning: preg_match() expects parameter 2 to be string, array given in /var/www/vhosts/path/to/my/blog/wp-content/plugins/events-manager/classes/object.php on line 100
Any ideas what’s up?
it’s probably not a serious error, it’s something we need to tidy up which we will do asap.
If you have it on apublic site I advise you turn error_reporting to off in your php settings, it’s a good security measure and it’ll get rid of that error.
Same new error for me too on a live site, and I don’t have the option to turn off error reporting on this one 🙁
Warning: preg_match() expects parameter 2 to be string, array given in /home/carb024/public_html/wp-content/plugins/events-manager/classes/object.php on line 100
Hi wpvince,
I’ve added a temporary fix…
Change line 100 from:
if( preg_match(‘/,/’, $defaults[‘orderby’]) ) {
To:
if(!is_array($defaults[‘orderby’]) && preg_match(‘/,/’, $defaults[‘orderby’]) ) {
As this code checks if $defaults[‘orderby’] is a string split by commas. If so, it then converts it to a php array. But it doesn’t need to do this if it is an array already, hence why I added the extra check.
thanks initialshock, I’ll add that for the next release (which might even be today).
thanks initialshock – fix worked
is this fixed? Im also having same problem, i cannot add any media into events.. Im using WP version 3.1.3 and event-manager version 4.0.82