Support » Plugin: Yoast SEO » tabs not working

  • Resolved nikmanolis

    (@nikmanolis)


    Hello,

    The tabs of Yoast plugin do not load their content (dashboard, webmaster tools etc) but also the same in the post editor. Appears only the headings of the tabs. And I see, alsmost the same trouble are facing other users. To contribute to a solutiuon i saw that the plugin works fine alone (using health plugin). Furthermore I show the results errors from the cosnlole for the experts, loading the page of Yoast settings:

    shortcode.min.js?ver=5.1:1 Uncaught TypeError: Cannot read property ‘memoize’ of undefined
    at shortcode.min.js?ver=5.1:1
    at shortcode.min.js?ver=5.1:1
    backbone.min.js?ver=1.2.3:1 Uncaught TypeError: Cannot read property ‘extend’ of undefined
    at backbone.min.js?ver=1.2.3:1
    at backbone.min.js?ver=1.2.3:1
    at backbone.min.js?ver=1.2.3:1
    wp-backbone.min.js?ver=5.1:1 Uncaught ReferenceError: Backbone is not defined
    at wp-backbone.min.js?ver=5.1:1
    at wp-backbone.min.js?ver=5.1:1
    media-models.min.js?ver=5.1:1 Uncaught TypeError: Cannot read property ‘extend’ of undefined
    at Object.23 (media-models.min.js?ver=5.1:1)
    at b (media-models.min.js?ver=5.1:1)
    at Object.22 (media-models.min.js?ver=5.1:1)
    at b (media-models.min.js?ver=5.1:1)
    at media-models.min.js?ver=5.1:1
    at media-models.min.js?ver=5.1:1
    wp-plupload.min.js?ver=5.1:1 Uncaught TypeError: Cannot read property ‘Attachments’ of undefined
    at wp-plupload.min.js?ver=5.1:1
    at wp-plupload.min.js?ver=5.1:1
    media-views.min.js?ver=5.1:1 Uncaught TypeError: Cannot set property ‘l10n’ of undefined
    at Object.<anonymous> (media-views.min.js?ver=5.1:1)
    at b (media-views.min.js?ver=5.1:1)
    at Object.<anonymous> (media-views.min.js?ver=5.1:1)
    at b (media-views.min.js?ver=5.1:1)
    at media-views.min.js?ver=5.1:1
    at media-views.min.js?ver=5.1:1
    media-editor.min.js?ver=5.1:1 Uncaught TypeError: Cannot read property ‘settings’ of undefined
    at media-editor.min.js?ver=5.1:1
    at media-editor.min.js?ver=5.1:1
    media-audiovideo.min.js?ver=5.1:1 Uncaught TypeError: Cannot read property ‘settings’ of undefined
    at Object.<anonymous> (media-audiovideo.min.js?ver=5.1:1)
    at b (media-audiovideo.min.js?ver=5.1:1)
    at Object.<anonymous> (media-audiovideo.min.js?ver=5.1:1)
    at b (media-audiovideo.min.js?ver=5.1:1)
    at media-audiovideo.min.js?ver=5.1:1
    at media-audiovideo.min.js?ver=5.1:1
    mce-view.min.js?ver=5.1:1 Uncaught ReferenceError: Backbone is not defined
    at mce-view.min.js?ver=5.1:1
    at mce-view.min.js?ver=5.1:1
    eml-media-models.js?ver=2.5:8 Uncaught TypeError: Cannot read property ‘Attachments’ of undefined
    at eml-media-models.js?ver=2.5:8
    at eml-media-models.js?ver=2.5:297
    eml-media-views.js?ver=2.5:8 Uncaught TypeError: Cannot read property ‘l10n’ of undefined
    at eml-media-views.js?ver=2.5:8
    at eml-media-views.js?ver=2.5:1108
    load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-widget,jquery-ui-position,utils,underscore,wp-util,wp-a11y,updates,wp-pointer,moxiejs,plupl&load[]=oad&ver=5.1:35 Uncaught TypeError: Cannot read property ‘extend’ of undefined
    at HTMLDocument.<anonymous> (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-widget,jquery-ui-position,utils,underscore,wp-util,wp-a11y,updates,wp-pointer,moxiejs,plupl&load[]=oad&ver=5.1:35)
    at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-widget,jquery-ui-position,utils,underscore,wp-util,wp-a11y,updates,wp-pointer,moxiejs,plupl&load[]=oad&ver=5.1:2)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-widget,jquery-ui-position,utils,underscore,wp-util,wp-a11y,updates,wp-pointer,moxiejs,plupl&load[]=oad&ver=5.1:2)
    at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-widget,jquery-ui-position,utils,underscore,wp-util,wp-a11y,updates,wp-pointer,moxiejs,plupl&load[]=oad&ver=5.1:2)
    at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-widget,jquery-ui-position,utils,underscore,wp-util,wp-a11y,updates,wp-pointer,moxiejs,plupl&load[]=oad&ver=5.1:2)

    Kindly thank you for you support

Viewing 6 replies - 1 through 6 (of 6 total)
  • Saša

    (@stodorovic)

    Please try to add this into wp-config.php:

    // Script debug
    define( 'CONCATENATE_SCRIPTS', false ); // Causes WordPress scripts to be included separately
    define( 'SCRIPT_DEBUG', true ); // Uses unminified scripts
    

    You will see more details (real script filename instead load-scripts.php).

    Did you try check plugin conflicts?

    I have the same problem, and adding the define did not fix it for me.

    @jacovh39 Please open Yoast SEO menu on WP dashboard and check browser console for javascript errors.

    More details:
    https://kb.yoast.com/kb/how-to-find-javascript-errors-with-your-browsers-console/
    https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors

    Please send screenshot of browser console or paste errors here.

    Did you try check plugin conflicts? I mean, please try to deactivate one plugin and check is it working (and repeat it for all possible plugins).

    I did check for plugin conflicts, and it is not a different plugin. In fact with this site when yoast is active I am unable to edit my widgets, and it is definitely caused by Yoast.

    Console log on SEO > General:
    Uncaught TypeError: Cannot read property ‘isArray’ of undefined
    at new wp.Backbone.Subviews (wp-backbone.min.js?ver=5.0.3:1)
    at n.constructor (wp-backbone.min.js?ver=5.0.3:1)
    at n.constructor (media-views.min.js?ver=5.0.3:1)
    at new n (backbone.min.js?ver=1.2.3:1)
    at HTMLDocument.init (media-editor.min.js?ver=5.0.3:1)
    at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,postbox,moxiejs,plupload&ver=5.0.3:2)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,postbox,moxiejs,plupload&ver=5.0.3:2)
    at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,postbox,moxiejs,plupload&ver=5.0.3:2)
    at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,postbox,moxiejs,plupload&ver=5.0.3:2)

    It was working fine until I updated the plugin to the latest version.

    Did you update to latest (9.7) version which is just released?

    I see following difference (copied from your comment):
    load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,postbox,moxiejs,plupload
    My test installation:
    load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload

    I don’t see that you have added constants CONCATENATE_SCRIPTS and SCRIPT_DEBUG. Please add them to we could locate exact script which shows error.

    I’ve tried to reproduce it, but I can’t even I’ve forced enqueuing similar scripts.

    Plugin Support amboutwe

    (@amboutwe)

    This thread has been marked as resolved due to lack of activity.

    You’re always welcome to re-open this topic. Please read this post before opening a new request.

    Thanks for understanding!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.