Title: SyntaxError: Unexpected token
Last modified: August 21, 2016

---

# SyntaxError: Unexpected token

 *  [iversoncru](https://wordpress.org/support/users/iversoncru/)
 * (@iversoncru)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-2/)
 * hi there!
    i just installed the plugin and when i go to Media -> Media File Manager,
   i get this error:
 * >  SyntaxError: Unexpected token < [{“ids”:0,”name”:”2013″,”isdir”:1,”isthumb”:
   > 0,”norename”:0,”id”:””,”thumbnail_url”:”http:\/\/iversoncru.eshost.es\/wp-content\/
   > plugins\/media-file-manager\/images\/dir.png”}]
 * twice!
 * any ideas? thanksss!!
 * [http://wordpress.org/extend/plugins/media-file-manager/](http://wordpress.org/extend/plugins/media-file-manager/)

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

 *  [mrcavallo](https://wordpress.org/support/users/mrcavallo/)
 * (@mrcavallo)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-2/#post-3911250)
 * hello – i have used this plugin for all my sites – however have started to get
   this error on mine as well:
 * SyntaxError: Unexpected token <
    Warning: array_key_exists() expects parameter
   2 to be array, string given in /home/brussels/public_html/wp-content/plugins/
   media-file-manager/media-relocator.php on line 211 [{“ids”:40,”name”:”folio”,”
   isdir”:1,”isemptydir”:0,”isthumb”:0,”norename”:0,”id”:””,”thumbnail_url”:”http:\/\/
   brusselsprout.biz\/wp-content\/plugins\/media-file-manager\/images\/dir.png”},{“
   ids”:36,”name”:”home-slider”,”isdir”:1,”isemptydir”:0,”isthumb”:0,”norename”:
   0,”id”:””,”thumbnail_url”:”http:\/\/brusselsprout.biz\/wp-content\/plugins\/media-
   file-manager\/images\/dir.png”},
 * and it continues for a couple of pages.
 * any suggestions as i cannot find any plugin like it.
 * thanks.
 *  Plugin Author [aueda](https://wordpress.org/support/users/aueda/)
 * (@aueda)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-2/#post-3911294)
 * What version of PHP, WordPress, browser are you using?
 *  Plugin Author [aueda](https://wordpress.org/support/users/aueda/)
 * (@aueda)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-2/#post-3911295)
 * Will you please do the following test to help me to solve the problem?
 * (1)Download the test version of plugin and install it:
    [http://tempspace.net/plugins/media-file-manager_test_130819.zip](http://tempspace.net/plugins/media-file-manager_test_130819.zip)
 * (2)You may see the same error as before and additional output like “******* ?????******”.
   What do you see between two “*******”s?
 *  Plugin Author [aueda](https://wordpress.org/support/users/aueda/)
 * (@aueda)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-2/#post-3911298)
 * Would you please do the following test?
 * (1)Download the test version of plugin and install it:
    [http://tempspace.net/plugins/media-file-manager_test_130822.zip](http://tempspace.net/plugins/media-file-manager_test_130822.zip)
 * (2)Download the log file.
    (Settings -> Media-file-manager -> Download Log
 * (3)Send me the log file (orguezzr at gmail dot com)
 *  [sblessley](https://wordpress.org/support/users/sblessley/)
 * (@sblessley)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-2/#post-3911311)
 * I am also experiencing this problem. WordPress is 3.7.1, PHP 5.3.
 * With your test version, the initial error text changes to
    “SyntaxError: Unexpected
   token A An error occured. Please download log file and send to the plugin author.”
 * There are no “Settings” in the plugin. Can you tell me where this log file is?
   I only find out_log.php and .php~
 *  Plugin Author [aueda](https://wordpress.org/support/users/aueda/)
 * (@aueda)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-2/#post-3911312)
 * Does the latest version work for you?
    [http://tempspace.net/plugins/media-file-manager_test_131129.zip](http://tempspace.net/plugins/media-file-manager_test_131129.zip)
 *  [sblessley](https://wordpress.org/support/users/sblessley/)
 * (@sblessley)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-2/#post-3911313)
 * Yes! Thank you! 優しいです。

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

The topic ‘SyntaxError: Unexpected token’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/media-file-manager.svg)
 * [Media File Manager](https://wordpress.org/plugins/media-file-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-file-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-file-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/media-file-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-file-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-file-manager/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [sblessley](https://wordpress.org/support/users/sblessley/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-2/#post-3911313)
 * Status: not resolved