Unable to edit pages / Always redirected to /wp-admin/post.php
-
Hi there,
First of all, I’d like to thank you for the great plugin you’ve created.Now, the problem… ??
Basically, since yesterday (at least, although it might be since the latest plugin update), I’ve been unable to edit my pages using the frontend builder (Divi, in this case) unless I enter the exact URL of the page with all the strings that the frontend builder adds (which – I haven’t checked – I may be able to get from the HTTP request).
Whenever I go to the “All pages” view and I click on any page I’m taken to the usual WordPress editing interface, and then I click the button to edit the page on the frontend builder and it starts loading and after a while, the browser redirects to /wp-admin/post.phpThen I get an email from WordPress about the error being caused by Polylang (I’ll paste it below). So I uninstalled the plugin (and everything started working again) and reinstalled it right after a quick test, but the issue persisted.
I’ve checked the file that’s mentioned on the WordPress email about the error but everything seems OK. The error stated in the email is a follows:
Error Details
=============
An error of type E_ERROR was caused in line 221 of the file /home/<…>/wp-content/plugins/polylang/admin/admin-filters.php. Error message: Uncaught ArgumentCountError: Too few arguments to function PLL_Admin_Filters::sanitize_title(), 1 passed in /home/<…>/wp-includes/class-wp-hook.php on line 287 and exactly 3 expected in /home/<…>/wp-content/plugins/polylang/admin/admin-filters.php:221
Stack trace:
#0 /home/<…>/wp-includes/class-wp-hook.php(287): PLL_Admin_Filters->sanitize_title(‘auto-draft’)
#1 /home/<…>/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘auto-draft’, Array)Hope you can help.
Thanks in advance,
Nuno
The page I need help with: [log in to see the link]
- The topic ‘Unable to edit pages / Always redirected to /wp-admin/post.php’ is closed to new replies.