You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to edit a post in WordPress using the Classic Editor, a JavaScript error occurs that prevents proper rendering of certain Yoast SEO functionalities. The error appears to stem from an undefined reference in the r.render() function.
To Reproduce:
Step-by-step reproduction instructions:
Log in to the WordPress admin panel.
Navigate to the Posts section and attempt to edit an existing post using the Classic Editor.
Observe the console error in developer tools or monitor Sentry logs.
Expected Results:
No JavaScript errors, and all Yoast SEO functionalities work correctly in the Classic Editor.
Actual Results:
A TypeError: (r.render) is not a function occurs in the Yoast SEO plugin file /content/plugins/wordpress-seo/js/dist/classic-editor.
Screenshots, screen recording, or code snippet:
Additional Details (from Sentry):
URL: /wp-admin/post.php
Environment: Production
WordPress Version: 6.7.1
Yoast SEO Version: Latest (24.0)
Browser: Chrome 131.0.0
OS: Mac OS X 10.15.7
Technical Info:
If relevant, which editor is affected (or editors):
Classic Editor
Which browser is affected (or browsers):
Chrome
Used versions:
Device you are using: MacBook Pro
Operating system: Mac OS X 10.15.7
PHP version: 8.1
WordPress version: 6.7.1
Yoast SEO version: 24.0
Classic Editor plugin version: 1.6.7
The text was updated successfully, but these errors were encountered:
Thanks for creating the issue. I tried to reproduce it using WordPress Playground, with Classic Editor and Yoast SEO plugin (24.0). However, I couldn't reproduce the error TypeError: (r.render) is not a function you mentioned on the browser console. Are you noticing it only with Yoast SEO and Classic editor with the default theme? In case I have missed any steps while reproducing, kindly let us know.
We look forward to hearing from you and are happy to help you.
Thanks for getting back to us. I again tried it using Yoast SEO 24.0, Classic Editor (1.6.7) on WordPress (6.7.1) using the theme Twenty Twenty-Four (1.3), but the error is not showing on the Chrome browser console. The other details of the website are mentioned below:
Permalink structure /%postname%/
Chrome: 131.0.6778.140
Web server Apache/2.4.43 (Win32)
PHP version 8.1.29 (Supports 64bit values)
Database Extension mysqli
Server version 8.0.16
Description of what happened:
While attempting to edit a post in WordPress using the Classic Editor, a JavaScript error occurs that prevents proper rendering of certain Yoast SEO functionalities. The error appears to stem from an undefined reference in the
r.render()
function.To Reproduce:
Step-by-step reproduction instructions:
Expected Results:
Actual Results:
TypeError: (r.render) is not a function
occurs in the Yoast SEO plugin file/content/plugins/wordpress-seo/js/dist/classic-editor
.Screenshots, screen recording, or code snippet:
Additional Details (from Sentry):
/wp-admin/post.php
Technical Info:
Used versions:
The text was updated successfully, but these errors were encountered: