Title: Error when activating an updated plugin
Last modified: October 7, 2020

---

# Error when activating an updated plugin

 *  Resolved [recipientpr](https://wordpress.org/support/users/recipientpr/)
 * (@recipientpr)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-when-activating-an-updated-plugin/)
 * The plugin has been updated to the current version. When activated, the error
   is:
    UParse error: syntax error, unexpected ‘.’ in …/wp-content/plugins/platinum-
   seo-pack/psp-include/sitemap/inc/class-wp-sitemaps-index.php on line 60
    -  This topic was modified 5 years, 7 months ago by [recipientpr](https://wordpress.org/support/users/recipientpr/).

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

 *  Plugin Author [Rajesh](https://wordpress.org/support/users/rajesh-babu/)
 * (@rajesh-babu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-when-activating-an-updated-plugin/#post-13512235)
 * What was the version you were using before? What is the PHP version you are using?
 * what do you meant by activating an updated plugin? updating a plugin does not
   require any activation. so can you pls mention what you were trying to do after
   updation?
 *  Plugin Author [Rajesh](https://wordpress.org/support/users/rajesh-babu/)
 * (@rajesh-babu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-when-activating-an-updated-plugin/#post-13512742)
 * the plugin uses the WordPress built in sitemap code for generating the sitemap.
   the built-in code uses this notation rather than looping thro. the $sitemap_entries:
 * array_push( $sitemaps, …$sitemap_entries );
 * you probably need to update PHP to V 5.6+ for this built-in piece of code to 
   work. Hence it is better if you could update PHP to the latest stable version.
 * It is a good practice to update PHP to the latest version for both performance
   and security reasons.
    -  This reply was modified 5 years, 7 months ago by [Rajesh](https://wordpress.org/support/users/rajesh-babu/).
    -  This reply was modified 5 years, 7 months ago by [Rajesh](https://wordpress.org/support/users/rajesh-babu/).
 *  Plugin Author [Rajesh](https://wordpress.org/support/users/rajesh-babu/)
 * (@rajesh-babu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-when-activating-an-updated-plugin/#post-13514420)
 * check out this:
 * [https://wordpress.org/about/requirements/](https://wordpress.org/about/requirements/)
 *  Plugin Author [Rajesh](https://wordpress.org/support/users/rajesh-babu/)
 * (@rajesh-babu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-when-activating-an-updated-plugin/#post-13602116)
 * the user wanted to use multiple SEO plugins and he hasn’t got back.

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

The topic ‘Error when activating an updated plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/platinum-seo-pack_9daa8d.svg)
 * [Platinum SEO](https://wordpress.org/plugins/platinum-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/platinum-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/platinum-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/platinum-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/platinum-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/platinum-seo-pack/reviews/)

## Tags

 * [activated](https://wordpress.org/support/topic-tag/activated/)
 * [updated plugin](https://wordpress.org/support/topic-tag/updated-plugin/)

 * 4 replies
 * 2 participants
 * Last reply from: [Rajesh](https://wordpress.org/support/users/rajesh-babu/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/error-when-activating-an-updated-plugin/#post-13602116)
 * Status: resolved