cl wrote: Hi, I constantly have problems with jcrop. I'm working an MAC and PC. First all things are working but after a while when updating templates on Mac the backend crashes. I guess this happens is when creating the template on PC and then updateing at MAC
log error: [21-Jul-2017 04:37:42 xxx] PHP Fatal error: Call to a member function get_data() on null in /Users/xxx/cms/addons/jcropthumb/jcropthumb.php on line 100
After removing the jcrop from the template again the backend is still gone (white screen).
The file structure in the error message indicates that Couch is hosted locally on your Mac. I don't speak fluent "error-message" (who does?), but it seems to be saying that jcropthumb is trying to get data from the database that doesn't exist. The Couch function get_data
is trying to work with null
when it should be working with something
Are you intentionally working on a locally hosted site on your Mac? Perhaps there is an accidental cross-over between a local and remote site?
If the backend is gone (white screen), it seems like the data is being corrupted so badly by this event that it's breaking the entire functionality of the template. Try restoring the database to an earlier backup. That might also be a way to replicate the problem for trouble-shooting.
Maybe as you suggest, Windows structures data or filenames or something in a way that is poison to the Mac under the right circumstances. Let's hope not. That could be very hard to diagnose and fix.
I don't know the answer to your problem. I'm just thinking out loud in the hope that something might help.