• Resolved UMBC

    (@umbc)


    The update to 1.15 breaks our media library around GTM ID – the settings page will not load entirely on the plugin.

    Rolling back to 1.14.2 resolved both issues.

    I can report more just let me know what you need.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    Screen dumps of the error and browser console log would be helpful.

    Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    You can also enable the debug log by entering the following in wp-config.php:

    define('WP_DEBUG', true);
    define('WP_DEBUG_DISPLAY', false);
    define('WP_DEBUG_LOG', true);

    It will write debug info to /wp-content/debug.log without showning the error messages in the frontend.

    Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    Version 1.15 was released 6 days ago and there have been no other bug reports like yours. GTM Kit does not load anything in the media archive, and I have analyzed the code changes from 1.14 to 1.15 to see if I could find anything that could explain your problem,

    Unless you have a log that shows that shows a failure in GTM Kit I can only conclude that another plugin is the root cause of the problem.

    Thread Starter UMBC

    (@umbc)

    react-dom.min.js?ver=18.2.0:10 TypeError: Cannot read properties of undefined (reading 'gtm_id')
    at se (settings.js?ver=ace6967dc457faddd697:1:42817)
    at wt (react-dom.min.js?ver=18.2.0:10:47637)
    at js (react-dom.min.js?ver=18.2.0:10:120584)
    at wl (react-dom.min.js?ver=18.2.0:10:88659)
    at bl (react-dom.min.js?ver=18.2.0:10:88587)
    at yl (react-dom.min.js?ver=18.2.0:10:88450)
    at fl (react-dom.min.js?ver=18.2.0:10:85607)
    at Nn (react-dom.min.js?ver=18.2.0:10:32474)
    at El (react-dom.min.js?ver=18.2.0:10:93374)
    at react-dom.min.js?ver=18.2.0:10:89834
    ar @ react-dom.min.js?ver=18.2.0:10
    t.callback @ react-dom.min.js?ver=18.2.0:10
    tt @ react-dom.min.js?ver=18.2.0:10
    Jr @ react-dom.min.js?ver=18.2.0:10
    Zr @ react-dom.min.js?ver=18.2.0:10
    Gr @ react-dom.min.js?ver=18.2.0:10
    (anonymous) @ react-dom.min.js?ver=18.2.0:10
    xl @ react-dom.min.js?ver=18.2.0:10
    fl @ react-dom.min.js?ver=18.2.0:10
    Nn @ react-dom.min.js?ver=18.2.0:10
    El @ react-dom.min.js?ver=18.2.0:10
    (anonymous) @ react-dom.min.js?ver=18.2.0:10
    v @ react.min.js?ver=18.2.0:10
    ce @ react.min.js?ver=18.2.0:10

    Thanks Sorry I got busy last week and wasn’t able to send over any information.

    I have just updated the plugin again this morning in my dev server and when I go to edit a post, and click on any media item, the block becomes corrupt.

    When I inspect the page I see the error mentioned above noting gtm_id. I wonder if there’s something wrong with React/DOM ?

    Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    If you get the error when you edit a post the problem is that settings.js is loaded on wp-admin/post.php?post=xxx, which it should not be. In fact I don’t see how it can be loaded on a page that doesn’t contain wp-admin/admin.php?page=gtmkit_. In version 1.15 thhere are no changes in how settings.js is loaded.

    Please look for errors in the debug.log as described above.

    Try deactivating all other plugins and check that this solves the problem. Then activate the plugins again one by one and check for errors after each activation.

    Thread Starter UMBC

    (@umbc)

    Rolled out some other updates and will try re-upping to v1.15 tomorrow!

    Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    What is the status on this?

    Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    Closing this

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Update to 1.15 Broken Media Library’ is closed to new replies.