Hi,
I added the following short-code on the homepage (made with Elementor):
[gdrts_stars_rating type=”custom.website” id=”1″
template=”default”style_type=”font”]
And I created a new rating type by folowing the steps in this post:
https://support.dev4press.com/kb/user-guide/how-to-allow-your-visitors-to-rate-your-website/
I also enabled Dynamic Load.
Whenever I try give a rating I keep getting the message ‘No votes yet’.
Also info on ratings is not visible in the Structured Data (Rich Snippets are enabled).
What can I do to correct this?
www.defietskoerieramsterdam.nl
Thanks!
Jeantine
-
Milan Petrovic
Keymaster -
jeantine
ParticipantFebruary 11, 2019 at 3:04 pm #60667Hi Milan,
apologies for late response.
I’m not an IT person. So couldn’t find a server error log. However I did find errors while using the Browser console.
Something with a PHP error. Message “Division by zero”.
Location:Elementor\M\P\Module->print_content()
wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php:19
Elementor\M\P\Module->print_callback()
Onbekende locatie
the_content()
wp-content/plugins/elementor/modules/page-templates/module.php:176
apply_filters(‘the_content’)
wp-includes/post-template.php:240
Elementor\Frontend->apply_builder_in_content()
wp-includes/class-wp-hook.php:286
Elementor\Frontend->get_builder_content()
wp-content/plugins/elementor/includes/frontend.php:737
Elementor\C\B\Document->print_elements_with_wrapper()
wp-content/plugins/elementor/includes/frontend.php:823
Elementor\C\B\Document->print_elements()
wp-content/plugins/elementor/core/base/document.php:736
Elementor\Element_Base->print_element()
wp-content/plugins/elementor/core/base/document.php:1060
Elementor\Element_Base->_print_content()
wp-content/plugins/elementor/includes/base/element-base.php:661
Elementor\Element_Base->print_element()
wp-content/plugins/elementor/includes/base/element-base.php:917
Elementor\Element_Base->_print_content()
wp-content/plugins/elementor/includes/base/element-base.php:661
Elementor\Element_Base->print_element()
wp-content/plugins/elementor/includes/base/element-base.php:917
Elementor\Widget_Base->_print_content()
wp-content/plugins/elementor/includes/base/element-base.php:661
Elementor\Widget_Base->render_content()
wp-content/plugins/elementor/includes/base/widget-base.php:629
Elementor\Widget_Shortcode->render()
wp-content/plugins/elementor/includes/base/widget-base.php:494
do_shortcode()
wp-content/plugins/elementor/includes/widgets/shortcode.php:130
preg_replace_callback()
wp-includes/shortcodes.php:197
do_shortcode_tag()
Onbekende locatie
gdrts_core_shortcodes->shortcode_stars_rating()
wp-includes/shortcodes.php:319
_gdrts_embed_stars_rating()
wp-content/plugins/gd-rating-system/rating/core.shortcodes.php:106
gdrts_render_rating()
wp-content/plugins/gd-rating-system/rating/base.embed.php:147
gdrts_engine_single->render()
wp-content/plugins/gd-rating-system/rating/base.functions.php:6
gdrts_engine_single->loop()
wp-content/plugins/gd-rating-system/rating/engine.single.php:45
gdrts_method_stars_rating->prepare_loop_single()
wp-content/plugins/gd-rating-system/rating/engine.single.php:110
wp-content/plugins/gd-rating-system/methods/stars-rating/load.php:168not sure if this helps??
Jeantine
-
Milan Petrovic
KeymasterFebruary 11, 2019 at 5:35 pm #60668This is points to few errors, and the division by zero error in the Elementor from what I can see in this. But, this error log doesn’t really help in finding what is wrong, because it looks incomplete. At the end is the error in my plugin, but that can be the consequence of other errors before it. If you can take the whole log file, ZIP it and attach here, I can check it out.
Dev4Press - Premium plugins for WordPress.
-
jeantine
ParticipantFebruary 12, 2019 at 11:50 am #60670Hi Milan,
I was finally able to create a debug file. You can find it attached.
Jeantine
-
Milan Petrovic
KeymasterFebruary 12, 2019 at 12:14 pm #60675OK, now the things are clearer. Plugin is not installed properly, and the database tables in your database are missing. Why this happened, I am not sure, but you can attempt to recreate them by opening plugin admin panel: Rating System -> Tools -> Recheck and Update. If there are any issues with creating database tables that will be displayed there. For installation to be fully successful, you should get something like this:
If the installation fails still, you need to manually add tables to the database, with the schema listed here: https://support.dev4press.com/kb/article/database-tables/.
Dev4Press - Premium plugins for WordPress.
-
jeantine
ParticipantFebruary 12, 2019 at 1:32 pm #60681Thanks, I tried it however the scheme has the following code twice:
CREATE TABLE
wp_gdrts_logmeta(
meta_idBIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
log_idBIGINT(20) UNSIGNED NOT NULL DEFAULT ‘0’,
meta_keyVARCHAR(255) NULL DEFAULT NULL,
meta_valueLONGTEXT NULL,
PRIMARY KEY (meta_id),
INDEXlog_id(log_id),
INDEXmeta_key(meta_key)and there is no code to create the ‘itemmeta’ table.
Would you have the code to create this table? -
Milan Petrovic
Keymaster -
jeantine
ParticipantFebruary 13, 2019 at 12:21 pm #60689problem solved! thanks a lot!
- The topic ‘Not showing votes’ is closed to new replies.
