Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: All in One WP Migration Plugin #25231
    rasomu
    Participant

    try with wp migrate. The push feature is terrific.

    rasomu
    Participant

    All you have to do is install the plugin, you will get a fatal error when trying to activate.

    Go to console on your server, navigate to the plugin folder where the file/wp-content/plugins/wp-rocket-master/composer.json in and execute composer install -no-dev.

    After that move to /wp-content/plugins/wp-rocket-master/inc/functions/option.php and change line 530 from return false; to return true;

    function rocket_valid_key() {
    $rocket_secret_key = get_rocket_option( 'secret_key' );
    if ( ! $rocket_secret_key ) {
    return true;
    }
    return 8 === strlen( get_rocket_option( 'consumer_key' ) ) && hash_equals( $rocket_secret_key, hash( 'crc32', get_rocket_option( 'consumer_email' ) ) );
    }

    Now you should be able to active the plugin.

    • This reply was modified 4 years, 6 months ago by rasomu.
Viewing 2 posts - 1 through 2 (of 2 total)