I am encountering some js errors which block all functionalities of Rank Math in custom post types edit page.
ajaxurl is not defined
a(...).wpList is not a function
If i insert by custom script the var ajaxurl in admin_head I get the following error:
pagenow is not defined
As you can see these errors seem to relate to core scripts. These occur ONLY on custom post types edit page,. not in edit page for post or pages. I the normal pages/posts the gutemberg editor results active, in custom post type its isnt and the rror occurs.
May it be related to the editor?
Any idea on how to solve this?
The ticket ‘Custom post type console errors’ is closed to new replies.