Last.Fm Records
Last.fm Records and WP Minify (5 posts)

  1. Nneon
    Posted 5 years ago #

    I'm currently having problems trying to get these two plugins to work together but without much luck.

    I've tried to exclude the lastfm JavaScript file from being combined or minified but nothing I've done thus far seems to work.

    Any ideas on what I need to do?


  2. Jeroen Smeets
    Plugin Author

    Posted 5 years ago #

    HI Nneon, can you give me an url to look at? Would love to help you resolve this.

  3. Nneon
    Posted 5 years ago #

    The url is http://nathanstaines.com although I've disabled WP Minify because I wasn't able to get the two plugins to work together.

    So I'm not sure if the url will be of any use to you?

  4. Jeroen Smeets
    Plugin Author

    Posted 5 years ago #

    Looking at the console, I see this error on your site

    Uncaught TypeError: Property '$' of object [object DOMWindow] is not a function

    in global.js. Not sure if this complicates things when scripts are minified, can't find any other reason why the combination of plugins would make it fail.

    I installed the wp-minify plugin on my own site to check the combination, and my plugins still works.

  5. Nneon
    Posted 5 years ago #

    I managed to fix that error. If I now run the WP Minify plugin with the Last.fm Records one I get these errors:

    missing ; before statement <b>Parse error</b>: syntax error, une...index.php</b> on line <b>20</b>
    min?f=...2924637 (line 2)

    lastFmRecords is not defined lastFmRecords.init(lfr_config); nathanstaines.com (line 62)

    Then if I exclude Last.fm Records from WP Minify I still get the first error? Maybe WP Minify is the problem?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Last.Fm Records
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic