• Resolved volker0101

    (@volker0101)


    it only works when a user is logged in the admin-panel.

    Uncaught ReferenceError: print_data is not defined
    at HTMLDivElement.<anonymous> (wpo-minify-footer-printomatic-js.min.js:12)
    at HTMLDocument.dispatch (wpo-minify-header-jquery-core.min.js:3)
    at HTMLDocument.v.handle (wpo-minify-header-jquery-core.min.js:3)
    (anonym) @ wpo-minify-footer-printomatic-js.min.js:12
    dispatch @ wpo-minify-header-jquery-core.min.js:3
    v.handle @ wpo-minify-header-jquery-core.min.js:3`

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    Hello.

    wpo-minify-footer-printomatic-js.min.js:12

    It seems the site is using a caching plugin (WP-Optimize Minify) that is minifying the javascript files, correct?
    Are you able to prevent this file from being minified?
    There seems to be some issue with the minified files not being passed the localized variables.

    it only works when a user is logged in the admin-panel.

    This is interesting feedback, we will look into this immediately, thank you.

    Thread Starter volker0101

    (@volker0101)

    thank you for answer.

    i prevent now from minifying:
    /wp-content/plugins/print-o-matic/js/print_elements.js
    /wp-content/plugins/print-o-matic/js/printomat.js

    … and it works now…

    Plugin Contributor twinpictures

    (@twinpictures)

    good to know.
    Still, this is not the optimal solution.
    We’ll try and recreate the issue on our end and post back with our findings.
    again, thank you for the feedback.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ReferenceError: print_data is not defined’ is closed to new replies.