• marbilbaoart

    (@marbilbaoart)


    PHP Parse error:  syntax error, unexpected ')' in /home/marbilba/public_html/wp-content/plugins/all-in-one-wp-migration/lib/controller/class-ai1wm-main-controller.php on line 707

    This is the error

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Shashank Jain

    (@iamshashank)

    I think while editing the php file you’ve put any extra closing parenthesis ‘)’.
    So you can either go to the file “/wp-content/plugins/all-in-one-wp-migration/lib/controller/class-ai1wm-main-controller.php” and on the line 707 check for any extra parenthesis and remove it, you can also check back and forth around that line for any unexpected symbol or if you don’t wanna edit the code then you can temporarily disable the plugin to regain access to your WordPress dashboard.

    I had similar problem. for some reason there was comma “,” on the end of row.

    so login via FTP, find mentioned file, find mentioned row, look for “Ai1wm_Template::asset_link( ‘css/servmask.min.css’ ),”.
    if following line is “)” then delete the “,” character.

    line should look like Ai1wm_Template::asset_link( ‘css/servmask.min.css’ )

    of course backup your file first.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot log to my wp admin’ is closed to new replies.