Title: Fatal error
Last modified: August 21, 2016

---

# Fatal error

 *  Resolved [Jon Täng](https://wordpress.org/support/users/jontng/)
 * (@jontng)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1190/)
 * I’m using Simple Image Sizes 3.0 on a multisite and I’m getting this on the media
   settings page:
 * Fatal error: Only variables can be passed by reference in /wp-content/plugins/
   simple-image-sizes/templates/admin-js.html on line 35
 * [https://wordpress.org/plugins/simple-image-sizes/](https://wordpress.org/plugins/simple-image-sizes/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * (@rahe)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1190/#post-4893003)
 * Hi,
 * There is no PHP on this file, check you have the right code on the file :
    [https://github.com/Rahe/Simple-image-sizes/blob/master/templates/admin-js.html](https://github.com/Rahe/Simple-image-sizes/blob/master/templates/admin-js.html)
 *  [momper](https://wordpress.org/support/users/momper/)
 * (@momper)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-1190/#post-4893096)
 * same problem since the activation of this plugin – so please have a second look
   if something changed maybe in the api (i’m using wp 3.9.1)
 *  Plugin Author [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * (@rahe)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-1190/#post-4893097)
 * Ok,
 * Can you give me more details about the error, like all the backtrace ?
 * Thank you
 *  [epawel](https://wordpress.org/support/users/epawel/)
 * (@epawel)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-1190/#post-4893135)
 * Hello,
    I have exactly the same issue (Fatal error: Only variables can be passed
   by reference in /wp-content/plugins/simple-image-sizes/templates/admin-js.html
   on line 35) . It seems that this piece of code is doing it:
 *     ```
       <%   _.each( sis.crop_positions, function( label, name ) { %>
       					<option value="<%  - name %>"> <%  - label %> </option>
       				<%  }); %>
       ```
   
 * It might be a problem is with tags <% %>. If server has enabled ASP tags, script
   could crash because it’s evaluated as PHP.
    Replacing them with <# #> using
 *     ```
       _.templateSettings = {
                           evaluate:    /<#([\s\S]+?)#>/g,
                           interpolate: /\{\{\{([\s\S]+?)\}\}\}/g,
                           escape:      /\{\{([^\}]+?)\}\}(?!\})/g
                       };
       ```
   
 * might help but I can’t figure it out where to place this code. Any help will 
   be very appreciated. And thanks for your work.
 *  Plugin Author [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * (@rahe)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-1190/#post-4893148)
 * Hi !
    I better understand the problem now, I will make an upadte soon for the
   4.0 🙂
 * Rahe
 *  Plugin Author [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * (@rahe)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-1190/#post-4893149)
 * This is fixed on the 3.0.1 ! Thanks !

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/simple-image-sizes/assets/icon-256x256.jpg?rev=3506203)
 * [Simple Image Sizes](https://wordpress.org/plugins/simple-image-sizes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-image-sizes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-image-sizes/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-image-sizes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-image-sizes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-image-sizes/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-1190/#post-4893149)
 * Status: resolved