Suddenly get errors in admin when editing post type
Suddenly get errors in admin when editing post type
Suddenly get errors in admin when editing post type
the issue was to do with cookies. In a multi-site setup, the cookies that are set upon user login depends on which subsite the user logged in from; not all cookies give equal authority to submit forms. so the solution is either you (a) change your cookie domain to one common one in wp_config.php – … Read more
Random 503 and 504 errors
So, after fiddling with this all week, i finally found the solution. In my original script, i asked for 99999 products with this line: $products = $woocommerce->get(‘products’, $parameters=[‘per_page’ => 99999]); I also had this function in functions.php in WP: function maximum_api_filter($query_params) { $query_params[‘per_page’][“maximum”]= 99999; return $query_params; } add_filter(‘rest_product_collection_params’, ‘maximum_api_filter’); The new changes i made to … Read more
Publication in wrong category
Did you update the WordPress Address (URL) and Site Address (URL) in the database or back-office ? Does it match with your wp-config.php WP_HOME and WP_SITEURL. If it still doesn’t work you can deactivate all the plugins (rename the wp-content/plugins/ folder) and reinstall them one at a time. Source : WPBeginner
How to Fix WordPress multisite woocommerce 403 file error
Uncaught TypeError: Cannot read property ‘add’ of undefined bp-plupload.min.js
I actually managed to chage it with this: function replace_registration_site_name_error( $translated_text, $text, $domain ) { $default=”Site names can only contain lowercase letters (a-z) and numbers.”; if ( $translated_text == $default ) { $translated_text = __( ‘Test’, ‘my_text_domain’ ); } return $translated_text; } This works great. However I am not able to change these two strings … Read more
The error is related with the Hosting Server PHP Version. So if you are on PHP 7.3.XX try downgrading to 7.2.xx or 7.1.xx and see if that helps! P.S. I was facing the same issue and had to downgrade to PHP 7.1 to fix it!