Support » Plugin: Gallery - Flagallery Photo Portfolio » Parse error: syntax error, unexpected T_FUNCTION …

  • metaltatt

    (@metaltatt)


    Parse error: syntax error, unexpected T_FUNCTION in /home/content/50/9675650/html/wp-content/plugins/flash-album-gallery/flag.php on line 122 which refers to
    add_action( ‘admin_notices’, function(){ echo ‘<div id=”message” class=”error”><p>‘ . get_option( “flag_init_check” ) . ‘</p></div>’; } );

    I tried to update the plugin on my website today and received the above error. Do you know how to fix this?
    Thanks!

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

Viewing 1 replies (of 1 total)
  • Plugin Author Rattus

    (@pasyuk)

    Seems like PHP version on your server is below 5.3. You need update PHP version on your server. Ask your hosting to do that for you.

Viewing 1 replies (of 1 total)
  • The topic ‘Parse error: syntax error, unexpected T_FUNCTION …’ is closed to new replies.