<p>Looks like the server didn't like the .htaccess file we use for Craft 2 - specifically this part: </p>

<pre><code>&lt;IfModule mod_mime.c&gt;
   AddCharset utf-8 .atom \
                    .bbaw \
                    .css \
                    .geojson \
                    .ics \
                    .js \
                    .json \
                    .jsonld \
                    .manifest \
                    .markdown \
                    .md \
                    .mjs \
                    .rdf \
                    .rss \
                    .topojson \
                    .webapp \
                    .webmanifest \
                    .xloc \
                    .xml
&lt;/IfModule&gt;
</code></pre>

<p>There weren't any errors in Craft but the PHP logs did have some information that helped us track this down.</p>

CC BY-SA 4.0
2019-02-18T21:04:47.443Z
2019-02-19T00:11:32.397Z
2019-02-19T00:11:32.397Z
Matthew Rotter
<p>Just like the post says, I'm getting unknown errors when selecting a category from a field. Nothing shows up in the craft error logs but here's what the console says: </p>

<p><a href="https://i.sstatic.net/MZ2HJ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/MZ2HJ.png" alt="error"></a></p>

<p>Just wondering if anyone else experienced this or if it's just a problem with our build. </p>

CC BY-SA 4.0
2019-02-13T19:18:04.720Z
Looks like we're getting a 500 error with the modal trying to load this page: /index.php?p=admin/actions/elements/get-modal-body
Matthew Rotter
CC BY-SA 4.0
2019-02-13T23:53:48.510Z
If you check the Craft `storage/logs` folder, the underlying 500 ISE error message should be there.
Brad Bell
CC BY-SA 4.0
2019-02-14T15:52:57.000Z
@BradBell I cleared the error logs and tried again. Only thing I got was a warning that it couldn't find the retour icon:  2019-02-14 09:47:42 [-][1][-][warning][craft\controllers\DashboardController::_getWidgetIconSvg] Widget icon file doesn't exist: /home/234685.cloudwaysapps.com/genxabcuuj/public_html/vendor/nystudio107/craft-retour/src/assetbundles/retour/dist/img/icon-mask.svg
Matthew Rotter
CC BY-SA 4.0
2019-02-14T16:14:20.473Z
It's giving me the same console error: there's a notification that say "Double-instantiating a menu button on an element" and then "failed to load resource" with that same element – Matthew Rotter 15 mins ago    Delete
Matthew Rotter
CC BY-SA 4.0
2019-02-15T18:22:43.487Z
@BradBell any idea on this? We think it could be server related because it happens more frequently on some environments but it's difficult to find a pattern
Matthew Rotter
CC BY-SA 4.0
2019-02-15T19:11:22.430Z
Looks like it was a server issue with something in our htaccess file. We checked the server errors logs and found it
Matthew Rotter
CC BY-SA 4.0
2019-02-16T00:10:15.097Z
Glad you got it sorted... would you mind adding it as an official answer? Might end up helping someone in the future.
Brad Bell
<error>
Unknown Errors when trying to select category
# Unknown Errors when trying to select category

(Asked by: username_0 on 2019-02-13)

Just like the post says, I'm getting unknown errors when selecting a category from a field. Nothing shows up in the craft error logs but here's what the console says:

[![error](https://i.sstatic.net/MZ2HJ.png)](https://i.sstatic.net/MZ2HJ.png)

Just wondering if anyone else experienced this or if it's just a problem with our build.

**Tags:** error

> **Comments:**
> **username_0**: Looks like we're getting a 500 error with the modal trying to load this page: /index.php?p=admin/actions/elements/get-modal-body  
> **username_1**: If you check the Craft `storage/logs` folder, the underlying 500 ISE error message should be there.  
> **username_0**: @BradBell I cleared the error logs and tried again. Only thing I got was a warning that it couldn't find the retour icon:  2019-02-14 09:47:42 [-][1][-][warning][craft\controllers\DashboardController::_getWidgetIconSvg] Widget icon file doesn't exist: /home/234685.cloudwaysapps.com/genxabcuuj/public_html/vendor/nystudio107/craft-retour/src/assetbundles/retour/dist/img/icon-mask.svg  
> **username_0**: It's giving me the same console error: there's a notification that say "Double-instantiating a menu button on an element" and then "failed to load resource" with that same element – username_0 15 mins ago    Delete  
> **username_0**: @BradBell any idea on this? We think it could be server related because it happens more frequently on some environments but it's difficult to find a pattern  
> **username_0**: Looks like it was a server issue with something in our htaccess file. We checked the server errors logs and found it  
> **username_1**: Glad you got it sorted... would you mind adding it as an official answer? Might end up helping someone in the future.  

---

## 1 answers

### Answer by username_0 on 2019-02-18. Score: 1 | Accepted answer

Looks like the server didn't like the .htaccess file we use for Craft 2 - specifically this part: 

   AddCharset utf-8 .atom \
                    .bbaw \
                    .css \
                    .geojson \
                    .ics \
                    .js \
                    .json \
                    .jsonld \
                    .manifest \
                    .markdown \
                    .md \
                    .mjs \
                    .rdf \
                    .rss \
                    .topojson \
                    .webapp \
                    .webmanifest \
                    .xloc \
                    .xml


There weren't any errors in Craft but the PHP logs did have some information that helped us track this down.


---

