Title: Plugin not working
Last modified: August 21, 2016

---

# Plugin not working

 *  Resolved [aleph72](https://wordpress.org/support/users/aleph72/)
 * (@aleph72)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/)
 * When I put the short code in a page or post, I get an “invalid contest” message.
   
   I’ve set up the contest correctly, I think, since I can see it in the preview
   section. Any idea?
 * Thanks.
 * [http://wordpress.org/extend/plugins/contesthopper/](http://wordpress.org/extend/plugins/contesthopper/)

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

 *  Plugin Author [Webikon s.r.o.](https://wordpress.org/support/users/webikon/)
 * (@webikon)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/#post-3856401)
 * Hello,
    what is the exact shortcode you used in the page? If you add contesthopper
   as a widget (not with a shortcode), does it work?
 *  Thread Starter [aleph72](https://wordpress.org/support/users/aleph72/)
 * (@aleph72)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/#post-3856405)
 * The shortcode I’m using is the one suggested in the “Publish” tab, [contesthopper
   contest=”224″]
 * I haven’t tried to use it as a widget because I’d like to make some tests (the
   page I’m inserting the short code into is published as Private) before making
   it public, and I’m going to translate it to Spanish and Italian with the Polylang
   plugin before really using it.
 *  Thread Starter [aleph72](https://wordpress.org/support/users/aleph72/)
 * (@aleph72)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/#post-3856406)
 * Ok I’ve just tried with the widget and I get the same “invalid contest” message.
 *  Plugin Author [Webikon s.r.o.](https://wordpress.org/support/users/webikon/)
 * (@webikon)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/#post-3856408)
 * Thank you for additional information.
    I have looked into it, but I am still 
   not able to reproduce the issue.
 * “Invalid contest” message happens when database query does not find the contest
   by ID (224 in your case).
 * Do you have contest with ID 224 listed in “All contests” page?
    Do you have any
   plugins/filters that might alter the behavior of WP_Query class?
 *  Thread Starter [aleph72](https://wordpress.org/support/users/aleph72/)
 * (@aleph72)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/#post-3856409)
 * Yes I have the contest with ID 224 and I don’t know if the plugins I’m using 
   are doing something strange with the WP_Query class.
 * These are the plugins I’m currently using, maybe you know if someone could be
   the culprit:
 * Askimet
    Codestyling Localization Contesthopper for WordPress Delightful Downloads
   Easy Video Widget Box Flat Alert Bar Jetpack by WordPress.com Polylang The Events
   Calendar Ultimate Coming Soon Page Visitor Map and Who’s online WP-SmartAppBanner
   WPTouch Yop Poll
 * I’ve also tried to uninstall and reinstall the plugin, but it’s still not working.
 *  Thread Starter [aleph72](https://wordpress.org/support/users/aleph72/)
 * (@aleph72)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/#post-3856410)
 * Wait a second… I’ve made another try and now it’s working!
 * I didn’t change anything, I think I’ve just deactivated and then reactivated 
   the plugin.
 *  Plugin Author [Webikon s.r.o.](https://wordpress.org/support/users/webikon/)
 * (@webikon)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/#post-3856413)
 * That is ..interesting, the reactivation shouldn’t do anything that could fix 
   this. I also don’t see a plugin that might do something to wp_query in your list.
 * In any case I am glad that it worked itself out, but I will keep an eye on this
   issue. If it reappears please post here again and we will dig deeper.
 * Thank you.
 *  Thread Starter [aleph72](https://wordpress.org/support/users/aleph72/)
 * (@aleph72)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/#post-3856414)
 * Well, the important is that I can now use this fantastic plugin.
    Thank you for
   your support.
 *  Thread Starter [aleph72](https://wordpress.org/support/users/aleph72/)
 * (@aleph72)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/#post-3856415)
 * I think I know what breaks the plugin, the translation with Codestyling plugin.
 * I’ve tried to translate it to Spanish again, generated the .mo and .po files 
   and then in the contest page I get again the “invalid contest” message.
 * I’ll have to use it in English for now but, please, make it ready for translations
   when you can.
 * Thanks.
 *  Plugin Author [Webikon s.r.o.](https://wordpress.org/support/users/webikon/)
 * (@webikon)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/#post-3856419)
 * I have tried your combination of Codestyling Localization and Polylang.
 * I have managed to generate and translate the po/mo file through Codestyling plugin
   and load/switch it through Polylang without any issue so I am still not sure 
   why you are getting “invalid contest” error message.
 * Currently, there is no support for multilanguage user-generated texts. [More info/similar issue in this topic](http://wordpress.org/support/topic/bilingual-support?replies=2).
 *  Thread Starter [aleph72](https://wordpress.org/support/users/aleph72/)
 * (@aleph72)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/#post-3856420)
 * I’ve tried eliminating the translations and redownloading the plugin again.
    
   If the widget is shown in the English page (I’m using Polylang with English, 
   Spanish and Italian languages), no problems at all. The same widget in the Italian
   and Spanish pages shows the invalid contest message. I think it works the same
   way for posts and pages.

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

The topic ‘Plugin not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contesthopper.svg)
 * [ContestHopper for WordPress](https://wordpress.org/plugins/contesthopper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contesthopper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contesthopper/)
 * [Active Topics](https://wordpress.org/support/plugin/contesthopper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contesthopper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contesthopper/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [aleph72](https://wordpress.org/support/users/aleph72/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-71/#post-3856420)
 * Status: resolved