|Tony||# Posted on April 24, 2018 at 2:56 am|
Yeah, that’s the problem.
The reason you are getting the ‘No image url provided when trying to create an image attachment.’ error is due to not having a logo set within either:
Event Espresso -> App Customization -> App Logo Image
Event Espresso -> General Settings -> Company Logo
So the app customization add-on doesn’t have an image to use and when it tests both those locations and finds them empty, it throws an exception with the above message which we write to the error log using:
It seems your server is set to display the errors rather than log them, but only within the admin calls and as all of the ajax requests are considered to be admin they break. So when the exception is thrown it outputs the error and if is an ajax request, it breaks.
I will create a ticket for our developers to investigate this further, although a quick fix that should work on your site is to add an image to either of the above locations, you can just manually enter the URL of an image on your site, for example:
Once you have a URL set, the media library should then work again and you can use it to select another if preferred.
Or set up your server not to output errors directly to the page when in production (including outputting errors to the admin) and just log them to the error logs so you can view them there.