Title: plugin not working on production mode
Last modified: July 2, 2019

---

# plugin not working on production mode

 *  Resolved [maddinb](https://wordpress.org/support/users/maddinb/)
 * (@maddinb)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-on-production-mode/)
 * Hi,
 * when worked locally on the site everything worked well. But after migrating the
   site to the host the plugin doesn’t work. It doesn’t scroll to the sections anymore
   and the highlight class also not get added.
    What could be wrong?
 * regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-not-working-on-production-mode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-on-production-mode/#post-11693174)
 * Hi,
 * Your theme template HTML is not correct. It’s missing the `footer.php`. If you
   view the source of your page you’ll see:
 *     ```
       <? get_footer();
   
       ?>
       ```
   
 * This is not correct. It should be:
 *     ```
       <?php get_footer();
   
       ?>
       ```
   
 * As it is now, the `html` and `body` tags are not closed, all WordPress footer
   functions are missing and the site footer content is missing too.
 *  Thread Starter [maddinb](https://wordpress.org/support/users/maddinb/)
 * (@maddinb)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-on-production-mode/#post-11693209)
 * Awesome thank you! wondering why this didn’t cause an issue when working locally.
   Anyway, now all good!
 * regards
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-on-production-mode/#post-11693389)
 * You’re welcome 🙂
 * Not sure why it worked locally… it shouldn’t work because the plugin’s scripts
   require the WordPress footer function.

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

The topic ‘plugin not working on production mode’ is closed to new replies.

 * ![](https://ps.w.org/page-scroll-to-id/assets/icon-256x256.png?rev=1401043)
 * [Page scroll to id](https://wordpress.org/plugins/page-scroll-to-id/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-scroll-to-id/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-scroll-to-id/)
 * [Active Topics](https://wordpress.org/support/plugin/page-scroll-to-id/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-scroll-to-id/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-scroll-to-id/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [malihu](https://wordpress.org/support/users/malihu/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-on-production-mode/#post-11693389)
 * Status: resolved