• Resolved FroPT

    (@fropt)


    Fatal error: Uncaught Error: Call to undefined function ai1wm_generate_random_string() in /home2/ndd/valort.teste1-ndd.com/wp/wp-content/plugins/all-in-one-wp-migration/lib/controller/class-ai1wm-main-controller.php:301 Stack trace: #0 /home2/ndd/valort.teste1-ndd.com/wp/wp-content/plugins/all-in-one-wp-migration/lib/controller/class-ai1wm-main-controller.php(57): Ai1wm_Main_Controller->setup_secret_key() #1 /home2/ndd/valort.teste1-ndd.com/wp/wp-includes/class-wp-hook.php(308): Ai1wm_Main_Controller->activation_hook(”) #2 /home2/ndd/valort.teste1-ndd.com/wp/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #3 /home2/ndd/valort.teste1-ndd.com/wp/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /home2/ndd/valort.teste1-ndd.com/wp/wp-admin/plugins.php(194): do_action(‘activate_all-in…’) #5 {main} thrown in?/home2/ndd/valort.teste1-ndd.com/wp/wp-content/plugins/all-in-one-wp-migration/lib/controller/class-ai1wm-main-controller.php?on line?301

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter FroPT

    (@fropt)

    Temporary fix that works:
    Go to your Imunify360 tab and add an entry to the ignore list,
    E.G.: /home/myawesomewebsite.com/wp-content/plugins/all-in-one-wp-migration/

    Another way you can do this is to navigate to your website root folder and create a file called: ‘imunify360.ignore’

    Edit ‘imunify360.ignore’ and add the following:
    wp-content/plugins/all-in-one-wp-migration/

    Don’t forget the last slash!

    Happy coding everyone!

    Plugin Author Yani

    (@yaniiliev)

    Thank you for sharing this temporary fix FroPT.

    I do not have a server with imunify360, it would be a great help if someone could try this build https://www.dropbox.com/s/sl60ig2dfn29kly/all-in-one-wp-migration.zip?dl=0 and see if imunify360 still deletes the file.
    I changed a few comments inside the file, nothing significant, but the checksum of the file is now different.

    Hi @yaniiliev

    I’ve tested with the plugin version you provided here and can confirm that Imunify360 didn’t identify as a threat and didn’t delete or modified any files.

    ??

    —-

    I don’t know if it’s useful now, but the previous version was getting this result in Imunify360:

    /public_html/wp-content/plugins/all-in-one-wp-migration/functions.php
    SMW-BLKH-2068114-php.bkdr

    Plugin Author Yani

    (@yaniiliev)

    Thank you neylwalecki.
    Yes, it is difficult to say if the changes did it or Imunify360 recent update kicked in.
    I am grateful to have community members like you supporting our plugin!

    You’re welcome @yaniiliev . I’m glad I could help ??

    Thread Starter FroPT

    (@fropt)

    Hi @yaniiliev,

    You’re welcome, all I did was build upon your thought.
    If the problem is with Imunify360, then ask it not to do it ??

    This is more of a hack than a ‘solution’. Anyways, it worked and saved my skin ??

    Right now I can’t try your solution (I really am in a hurry), but I’ll be glad to test it over Saturday.

    Best wishes,
    Pedro

    Thread Starter FroPT

    (@fropt)

    Hi?@yaniiliev,

    Sorry for the delay, I really had a wrong time with some work.
    I have tested your solution on a server (Linux + CPanel) with Imunify360 and it works OK with no side effects, errors, or bugs. Looks good to me!

    I have a web hosting business and the functions.php file was “cleaned” on over 60 sites.

    The Imunify360 team have handled this really badly. They kept assuring me there would be a fix for days and days and they have done nothing. Not even an update on what is happening.

    The only good thing was there were notifications sent so I could identify the accounts that were affected.

    Unfortunately the only solution was to rm -rf plugins/all-in-one-migration on each account.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal Error’ is closed to new replies.