Looks like there is a case error in Toolset Maps causing a fatal error accross a ton of our sites:
toolset-maps/application/autoload_classmap.php on line 13 is looking for the file MapBlock.php but is actually named mapBlock.php.
from Splunk Logs:
[14-Jan-2020 13:12:55 UTC] PHP Fatal error: Uncaught Error: Class 'OTGS\Toolset\Maps\Controller\Compatibility\Gutenberg\EditorBlocks\Blocks\Map\MapBlock' not found in /opt/local/apache/appdata/wp-content/plugins/toolset-maps/application/controllers/compatibility/gutenberg/editor-blocks/editor-blocks.php:34
Also looks like this was introduced in v2.0
Hello,
The problem you mentioned above is abnormal, please check these:
1) Make sure you are using the latest version of WordPress core + Toolset plugins, you can download Toolset plugins here:
https://toolset.com/account/downloads/
2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, deactivate all custom PHP/JS code snippets, and test again
3) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
No, it is abnormal. We're running the all the most recent plugins. We're running a multisite installation where the database is almost 40gigs. So Providing a dump will not happen. Our servers are case sensitive so your file MapBlock.php can not be found because it's case is different it's looking for mapBlock.php. This is a good example why you all might want to follow WordPress Code Standards, which recommends all lower case file names, and separated by underscores, it does not recommend camel case. Our logs shows the error pretty clearly.
You might want to look at a similar issue that we put in with the ticket titled: Command -> /command. Basically same thing here. This was eventually corrected.
I imagine you will see others with the same issue.
I appreciate your help.
Thanks for the details, I have checked the Toolset Maps plugin version 2.0(and 2.0.1) source file, download from:
https://toolset.com/download/toolset-maps/#changelog
There isn't the problem you mentioned above, I can see the file name is correct: MapBlock.php
So there should be some problem in your website which has changed the file name.
And the latest version of Toolset Maps plugin is 2.0.1, I suggest you download the Maps plugin from your account page, install it manually:
https://toolset.com/account/downloads/