YoastSEO not defined

Created on 5 December 2018, over 6 years ago
Updated 6 July 2023, almost 2 years ago

I installed this module via composer 2.x-dev version, added the Real Time SEO field to the content type I wanted. When I go to the edit page of a node of that content type I get the error YoastSEO not defined. I uninstalled/reinstalled the module with no luck. Any ideas?

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jsheffers

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΈπŸ‡°Slovakia lubwn

    I have also solved this by adding yoast_seo.js to libraries.yml file of my theme.

    But I am not sure if I did it right, my code is:

    global-styling:
      version: VERSION
      css:
        base:
          css/adminimal.css: {}
      js:
        /modules/contrib/yoast_seo/js/yoast_seo.js: {}
        js/scripts.js: {}
      dependencies:
        - core/jquery
        - yoast_seo/yoast_seo_admin
        - yoast_seo/yoast_seo_core
    

    So I wrote the path from root as I have no idea how to include this from module / library perspective. But it works.

  • πŸ‡§πŸ‡ͺBelgium dieterholvoet Brussels

    A cache rebuild fixed the issue for me.

Production build 0.71.5 2024