WordPress update shows ftp login and wpcron error

Author:

add these lines to your wp-config file

define(‘FS_METHOD’,’direct’); // this remove the ftp login screen

define(‘WP_MEMORY_LIMIT’, ‘512M’); //increase php memory
define(‘DISABLE_WP_CRON’, true); //this disabled wpcron

go to hosting control panel add cron there, command below runs wpcron every 30 min

0/30 * * * * wget -q -O – https://example.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1

5 1 vote
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x