-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call to a member function getMap() on null #61
Comments
Some additional information - I had a clean Craft 3 install but with other plugins installed when I got the error. I just tried a fresh install without any plugins + manually installed Simple Map with Composer and it worked without throwing that error. |
That error suggests that the field type was being called in some way before the rest of the plugin had been initialised. It's most likely that one of the other plugins you had installed was causing this. Could you let me know what other plugins you had installed? |
For me it caused: |
This is the list of plugins I have installed (doing some testing):
I tried to debug a bit more and turned all plugins off, I could create the Map field normally, then I turned them on one by one and couldn't replicate the original issue anymore. I'm sure it's another plugin causing this - if I find it (I'm not using Redirect like @georgejr ) I'll report it here. |
Only a couple of other plugins then 😆 It would be worth checking your logs as well, as they will probably contain more information about the error. You can check your logs from within the Craft CP using Logs (shameless plug). |
A few 💯 ... I did look at the logs but nothing really jumps at me, here is the relevant part if you find it useful:
Nice log-o on the Logs plugin 👍 |
Hm, the log made me test again and I think it just might be Command Palette - |
Closing this, looks like it's fixed in Simple Map plugin breaks when Comand Palette enabled #33 |
On a clean Craft 3 RC1 install, I get an error that breaks Control Panel entirely after creating a Simple Map field with default settings.
Any ideas?
The text was updated successfully, but these errors were encountered: