Title: page implementation problem
Last modified: August 22, 2016

---

# page implementation problem

 *  Resolved [djdoc](https://wordpress.org/support/users/djdoc/)
 * (@djdoc)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/page-implementation-problem/)
 * Hello,
    I’m having a problem with using the plugin. I use page with template 
   and i put the following code there.:
 *  <?php while (have_posts()) : the_post(); ?>
    <?php if(function_exists(‘the_ratings’)){
   the_ratings(); } ?> <?php endwhile; ?>
 * All i see in my pages is empty start with “(No Ratings Yet)”.
 * more info:
    * no js errors please help me with it.
 * [https://wordpress.org/plugins/wp-postratings/](https://wordpress.org/plugins/wp-postratings/)

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

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/page-implementation-problem/#post-5588273)
 * Does it work on the default theme? The code seems correct. Unless you are using
   a caching plugin and the text is being cached by the plugin. That is the only
   thing I can think of.
 *  Thread Starter [djdoc](https://wordpress.org/support/users/djdoc/)
 * (@djdoc)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/page-implementation-problem/#post-5588446)
 * Actually no, it’s not working there too.
    I don’t have anything with caching 
   stuff. Maybe I do something else wrong? should I add something to the header 
   or footer?
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/page-implementation-problem/#post-5588447)
 * Can you switch to the default theme and let me know your URL.
 *  Thread Starter [djdoc](https://wordpress.org/support/users/djdoc/)
 * (@djdoc)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/page-implementation-problem/#post-5588448)
 * I’ve checked again and now with defualt theme it’s working fine.
    what can be
   missing in my theme?
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/page-implementation-problem/#post-5588449)
 * I would not know since I don’t use many of the themes out there. That is why 
   when user have a problem, I always ask them to switch to the default theme so
   that it can be used as a benchmark.
 * You will properly have to contact your theme author. My guess will be this [https://wordpress.org/support/topic/ensure-your-theme-has-wp_head-and-wp_footer?replies=4](https://wordpress.org/support/topic/ensure-your-theme-has-wp_head-and-wp_footer?replies=4)
   or there is a Javascript problem [http://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors](http://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors)
 *  Thread Starter [djdoc](https://wordpress.org/support/users/djdoc/)
 * (@djdoc)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/page-implementation-problem/#post-5588450)
 * Ok so now i’ve fixed the wp_footer that was missing and i start to see errors
   that weren’t before:
 * “ReferenceError: current_rating is not defined
    <!doctype html> /camera…review/(
   line 1) ReferenceError: ratings_off is not defined
 * <!doctype html>
    /camera…review/ (line 1) ReferenceError: current_rating is not
   defined
 * <!doctype html>
    /camera…review/ (line 1) ReferenceError: ratings_off is not 
   defined
 * <!doctype html>
    /camera…review/ (line 1) ReferenceError: current_rating is not
   defined
 * <!doctype html>
    /camera…review/ (line 1) ReferenceError: ratings_off is not 
   defined
 * <!doctype html>
    /camera…review/ (line 1) ReferenceError: current_rating is not
   defined
 * <!doctype html>
    /camera…review/ (line 1) ReferenceError: ratings_off is not 
   defined
 * <!doctype html>
    /camera…review/ (line 1) ReferenceError: current_rating is not
   defined
 * <!doctype html>
    /camera…review/ (line 1) ReferenceError: ratings_off is not 
   defined
 * <!doctype html>
    /camera…review/ (line 1) ReferenceError: current_rating is not
   defined
 * <!doctype html>
    /camera…review/ (line 1) ReferenceError: rate_post is not defined
 * <!doctype html>
    /camera…review/ (line 1) ReferenceError: ratings_off is not 
   defined
 * <!doctype html>”
 * Any suggestions from here?
 *  Thread Starter [djdoc](https://wordpress.org/support/users/djdoc/)
 * (@djdoc)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/page-implementation-problem/#post-5588451)
 * The url of the page is:
    [http://www.buyinstantcamera.com/camera/sony-a333-review/](http://www.buyinstantcamera.com/camera/sony-a333-review/)
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/page-implementation-problem/#post-5588455)
 * The plugin ratings javascript is still not on your page and hence it still shows
   the error. It is still related to the footer (the header code is fine). If you
   fix it, you will fix the error.
 * Unfortunately, you will have to figure it out yourself since this has nothing
   to do with the plugin but your theme.
 *  [angelozehr](https://wordpress.org/support/users/angelozehr/)
 * (@angelozehr)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/page-implementation-problem/#post-5588517)
 * Unfortunately I have the same problem:
    [http://journalismus-y.ch/2015/07/24/online-kommentare/](http://journalismus-y.ch/2015/07/24/online-kommentare/)
 * I had to manually enqueue the script (tried head and footer) because it did not
   load by default.
 * But even now that I have enqueued the script the javascript errors are still 
   showing and the plugin is no running.
 * Does anyone know what the problem could be?
 *  [angelozehr](https://wordpress.org/support/users/angelozehr/)
 * (@angelozehr)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/page-implementation-problem/#post-5588518)
 * When I manually enqueue the script another error occurs:
    `Uncaught ReferenceError:
   ratingsL10n is not definedratings_off @ (index):118onmouseout @ (index):275`

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

The topic ‘page implementation problem’ is closed to new replies.

 * ![](https://ps.w.org/wp-postratings/assets/icon.svg?rev=978014)
 * [WP-PostRatings](https://wordpress.org/plugins/wp-postratings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-postratings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-postratings/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-postratings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-postratings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-postratings/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [angelozehr](https://wordpress.org/support/users/angelozehr/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/page-implementation-problem/#post-5588518)
 * Status: resolved