Under Construction Password Field Missing

Hello,

The password field was fine and working for quite some time but now it has disappeared. I disabled all the plugins to see if there was a conflict but that didn’t work. I also tried adding:

wp_enqueue_style( ‘dashicons’ );

To the functions.php page but that did work either.

I also tried:
add_action( ‘wp_enqueue_scripts’, ‘load_dashicons_front_end’ );
function load_dashicons_front_end() {
wp_enqueue_style( ‘dashicons’ );
}

But I get the error:
Your PHP code changes were rolled back due to an error on line 29 of file wp-content/themes/x-child/functions.php. Please fix and try saving again.

Cannot redeclare load_dashicons_front_end() (previously declared in wp-content/plugins/tco-under-construction/tco-under-construction.php:104)

Please help.

Hey There,

I’ve tried to replicate this on my end and was not successful.

Would you mind providing us with login credentials so we can take a closer look? Please provide following information:

Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials

All the best!

Hey There,

We will investigate this and let you know if we can replicate this on our end. If there is an issue we will try to fix this in a future update.

Any luck with this?

Hello @TheSoftwire,

Please edit your child theme’s functions.php file and remove this code:

add_action( 'wp_enqueue_scripts', 'dashicons_enqueue_frontend_dashicons' );

function dashicons_enqueue_frontend_dashicons() {
    wp_enqueue_style( 'dashicons' );
}

Once removed, kindly enable the Under Construction plugin again.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.