Saltar navegación

[Resuelto] Types 3.3.8 JS error

This support ticket is created hace 5 años. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Este tema contiene 5 respuestas, tiene 2 mensajes.

Última actualización por Christian Cox hace 5 años.

Asistido por: Christian Cox.

Autor
Mensajes
#1428223

When Types and Views are active, mass errors on the editor page and buttons and panels do not work

enlace oculto

I tried to disable all other plugins, they do not affect the result

#1430449

Hello, does this problem occur with all post types, or just one post type? Is the problem in the Block Editor or the Classic Editor? Can you clear your browser cache and test again? What if you try a different browser, like Chrome or Firefox? Is your WordPress up-to-date?

#1431241

Problem with all post types.
Classic Editor
I use Safari. The problem is in different browsers for different users. WordPress updated to the latest version

#1431675

Okay thank you, I don't normally see these errors so I suspect something else is going on. May I create a clone of your site using the Duplicator plugin to run some additional tests? Please provide login credentials in the private fields here.

#1432099

Okay thank you, I was able to create a site clone and get the site installed on my own local environment. I was not able to determine the source of the problem yet, so I will continue working on this tomorrow. I will give you an update as soon as I have more information to share - thanks for your patience.

#1433277

Okay, I think I have fixed the problem. It seems the JavaScript errors were produced when this line of code was executed:

do_action_ref_array('wp_default_scripts', array(&$wp_scripts));

That code was in a language file on your server:

/wp-content/languages/ru_RU.php

I don't know much about this file, but a quick search led me here:
https://wordpress.org/plugins/restore-admin-menu/

That page seems to indicate that the following 3 files are obsolete and should be deleted:

/wp-content/languages/ru_RU.php
/wp-content/languages/ru_RU-ie.css
/wp-content/languages/ru_RU.css

As a test, I saved a backup of these 3 files then deleted them from your server using FTP. Then, I forced WP to check for updates at this URL:
enlace oculto
No updates are required, so this indicates it is okay to delete those files permanently. For now, I have deleted them from the server. If you have a local file repository you should also delete those files from your local repo.

Now I am able to load the post editor screen successfully without any JavaScript errors. Can you please check and let me know if the problem is not completely resolved?

enlace oculto