• Resolved listoric

    (@listoric)


    Hey there, just installed the plugin via WordPress and I get this message when I try to activate it:

    Parse error: syntax error, unexpected ‘)’ in /homepages/26/d241855634/htdocs/wordpress/wp-content/plugins/local-google-fonts/includes/class-local-google-fonts-admin.php on line 367

    Is there something I can do?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author EverPress

    (@everpress)

    Thanks for reporting!

    Will fix this in an upcoming version. You can also use PHP 7.4+ to get this sorted!

    Best Regards

    Removing the trailing “,” on line 328 in /local-google-fonts/includes/class-local-google-fonts-admin.php fixes the issue:
    ( $variant->fontStyle == 'italic' ? 'Italic' : '' ),

    • This reply was modified 2 years, 3 months ago by Kevin Grabher.
    Plugin Author EverPress

    (@everpress)

    Fixed in 0.13!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error when I try to activate the Plugin’ is closed to new replies.