• Resolved Shillongtitude

    (@shillongtitude)


    Hello,

    I am using the latest version of the theme (v3.3.6) on one of my sites and can’t seem to add a feature image to posts. Clicking on the “Set featured image” box returns the following error in the console:

    Uncaught TypeError: Cannot read property 'replace' of undefined
        at Function.v.template (underscore.min.js?ver=1.8.3:2)
        at n.template (wp-util.min.js?ver=5.7.1:2)
        at n.render (wp-backbone.min.js?ver=5.7.1:2)
        at n.attach (media-views.min.js?ver=5.7.1:2)
        at n.open (media-views.min.js?ver=5.7.1:2)
        at n.<computed> [as open] (media-views.min.js?ver=5.7.1:2)
        at r.value (media-utils.min.js?ver=6769ca058df5de8036f63540620b14df:2)
        at Object.ki (react-dom.min.js?ver=16.13.1:176)
        at ji (react-dom.min.js?ver=16.13.1:13)
        at mi (react-dom.min.js?ver=16.13.1:13)

    I didn’t have any problems with the set featured image option in the previous version of the theme so I think this issue is caused by the latest version.

    P.S. Plugins were disabled for debugging the problem and the issue persisted.

Viewing 1 replies (of 1 total)
  • Thread Starter Shillongtitude

    (@shillongtitude)

    RESOLVED: I ended up cloning the site on a different domain, wiping the current one and copying the clone site back to the main domain and it seems to be working now.

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot read property ‘replace’ of undefined’ is closed to new replies.