Errors after upgrading PHP to 7.4 WordPress

That sounds like a theme problem, since you have all plugins disabled. The theme has some error, possibly some extra spaces at the top of a file. I’d change to one of the ‘Twenty’ themes and see if the problem stops. If so, contact your theme’s support area. If problem persists with one of the … Read more

Warning: printf(): Too few arguments in helpers.php file

Your printf statement awaits additional string argument which would be substituted instead of %s: printf( // Filters text content and strips out disallowed HTML wp_kses( __(‘Read more <span class=”u-screen-reader-text”>about %s</span>’, ‘Sema’), [ ‘span’ => [ ‘class’ => [] ] ] ), “some subject” ); This example would produce the following output: Read more <span class=”u-screen-reader-text”>about … Read more

Redirecting to a custom forgot password page

Yep, there’s a hook to change the lost password URL. I found it by going to this nice page to search all the hooks and filters and selecting ‘Hooks’ and trying ‘lost password’ https://developer.wordpress.org/reference/ An example from here: https://codex.wordpress.org/Plugin_API/Filter_Reference/lostpassword_url add_filter( ‘lostpassword_url’, ‘my_lost_password_page’, 10, 2 ); function my_lost_password_page( $lostpassword_url, $redirect ) { return home_url( “/yournew/lostpasswordpage.php” ); … Read more

Set site title & tagline with wp.config or function.php

These fields have the keys ‘blogname’ and ‘blogdescription’ respectively in the options table. I’m not sure exactly why you need to do this as it seems like a priority to secure your site and be able to update it through the dashboard yourself, but you can update them easily from functions.php with update_option, e.g.: update_option( … Read more