Google News Sitemap Generator
Google News Sitemap Generator - Fatal Error (6 posts)

  1. depiction
    Posted 5 years ago #

    My blog is on a Windows box with PHP and MySQL. When I try to activate the Google News Sitemap Generator plugin from http://wordpress.org/extend/plugins/google-news-sitemap-generator/ I get the following error:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected '}' in E:\WebSites\domain\blog\wp-content\plugins\google-news-sitemap-generator\google-news-sitemap.php on line 364

    I checked the syntax and everything seems correct. I even tried removing the } at then end of the file (line 364). The plugin then activates but outputs a bunch of code instead of displaying the admin area or public pages.

    I tried both version 1.4 and 1.5.

  2. depiction
    Posted 5 years ago #

    I was able to get it to work by changing the opening line of the plugin's code <? to <?php. It should have worked either way, weird.

  3. Pothi Kalimuthu
    Posted 4 years ago #

    Thanks depiction.

    It fixed the issue. Wonder why it didn't work with <?

    Thanks again for the fix.

  4. artdias90
    Posted 4 years ago #

    Also worked here, 4 months after last post. Developers please fix this -.-

  5. artdias90
    Posted 4 years ago #

    And now I cant see the plugin menu options in the wordpress menu bar..

  6. gingerdog
    Posted 4 years ago #

    There is a second <? within the code; that's what is probably breaking the admin panel.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google News Sitemap Generator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic