Unable to upload files greater than 1MB in size in Multisite network?

Upon debugging we found the wp_max_upload_size function was returning 1MB. The u_bytes and p_bytes were as expected and equal to 100MB as defined in our uploads.ini file but the application of upload_size_limit filter changed the size to 1MB i.e., the problem was at: return apply_filters( ‘upload_size_limit’, min( $u_bytes, $p_bytes ), $u_bytes, $p_bytes ); A upload_size_limit_filter … Read more

Running WP-Cron on Multisite networks the right way?

After you’ve added the constant in wp-config.php defined(‘DISABLE_WP_CRON’) or define(‘DISABLE_WP_CRON’, true); WP-CLI And assuming you have your config.yml setup correctly, you can ommit the –path flag when calling cron run. wp cron event run –due-now [<hook>…] One or more hooks to run. [–due-now] Run all hooks due right now. [–all] Run all hooks. To run … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)