Comments (14)
I think I found the culprit. There was a post_type check missing when listening for the transition_post_status hook.
You can either wait for the next update which will fix this, or rollback to v5.10.4
from site-reviews.
Same here, 5 pages empty with the "There are no reviews yet. Be the first one to write one." and the last with 7 reviews. It looks like when the plugin query the reviews, it gets reviews and some other type of post which can't be display
from site-reviews.
Have you tried running the Repair Review Relations tool?
from site-reviews.
Have you tried running the Repair Review Relations tool?
No, it says "Repair is unnecessary because your database tables use the InnoDB engine! ✨"
from site-reviews.
Did you previously at some point run the Optimise Your Database Tables tool to convert tables from MyISAM to InnoDB, or have your database tables always used InnoDB?
from site-reviews.
Did you previously at some point run the Optimise Your Database Tables tool to convert tables from MyISAM to InnoDB, or have your database tables always used InnoDB?
I never ran that tool. DB has always been InnoDB to my knowledge.
from site-reviews.
@LoganStrike It would help me if you would use the Contact Support section on the Help page to contact me directly and send the Console Log (if applicable) and the Site Reviews System Info.
@BenPam This sounds like a different issue. Please try running the Repair Review Relations tool, and then run the Optimise Your Database Tables tool.
from site-reviews.
The System Info you sent shows that you have seven 0-star reviews and four 5-star reviews (11 reviews total).
Is this still true?
The reason I ask is because I am trying to reproduce your problem on a local site. Site Reviews will display all 0-5 star reviews by default, but your site shows only the four 5-star reviews.
from site-reviews.
@LoganStrike Next, if you have access to PHPMyAdmin, TablePlus, or SequelPro (or any other MySQL client), would you be able to run the following SQL query and post a screenshot of the results?
SELECT
r.ID,
r.review_id,
r.rating,
r.is_approved,
r.is_pinned,
p.post_author,
p.post_date,
p.post_title,
p.post_status,
p.post_type
FROM wp_glsr_ratings AS r
INNER JOIN wp_posts AS p ON r.review_id = p.ID
ORDER BY p.post_date desc
Note: If you are using a custom table prefix, make sure to update the table names in the query (e.g. wp_
is the default WordPress table prefix).
For example, here is a screenshot of what it looks like when I run that query:
from site-reviews.
- Did you ever run the "Optimise Your Database Tables" tool previously?
- Did you import the database (or any of the database tables) from a different WordPress website?
Here is something to try, please let me know if it works:
You will need to edit the following file in the plugin:
/wp-content/plugins/site-reviews/views/pages/tools/general/repair-review-relations.php
Replace all text in that file with the following code: https://pastebin.com/iYzAi3er
Once you have done that, you should be able to run the "Repair Review Relations" tool.
from site-reviews.
@pryley There are only 4 reviews total. When I search the posts table for site-review post type, there are only 4 rows returned there as well.
Here is the result pf the query:
from site-reviews.
@LoganStrike Please see question no.2 in the reply above and the proposed solution.
from site-reviews.
@LoganStrike Please see question no.2 in the reply above and the proposed solution.
This site wasn't imported from anywhere. It started as a default Flywheel WordPress installation, and the 4 reviews were added by a logged-in administrator submitting each review via the front end form using [email protected] as the email for all of them.
This site will be used to create other WordPress installations using the Flywheel Blueprint feature, which is basically a saved WordPress instance that can be easily duplicated to use as a starting point for other sites.
The proposed solution seems to have fixed the issue. Do you know what caused it to happen in the first place? Do you anticipate that I'd need to do this repair process on all sites moving forward?
from site-reviews.
If you would like to stay on the latest version and patch the problem yourself, please see: ca33320
from site-reviews.
Related Issues (20)
- Issue with assets path in local development HOT 1
- assigned_terms and assigned_posts not working properly in site_reviews_summary HOT 5
- 'Slow query' reported by Query Monitor HOT 18
- Error activating plugin HOT 2
- Add a new field. HOT 1
- Tag v5.0.1 just vanished HOT 8
- Duplicate Queries wp_glsr_ratings HOT 6
- Review details disappeared from client webiste HOT 1
- Performance issue HOT 5
- cannot activate plugin due to new wordpress update 5.8.1
- test
- Pagination: load more feature HOT 1
- Spam submission protection HOT 6
- Function GeminiLabs\SiteReviews\Application->__get takes 0.555044 HOT 2
- Respond "quick edit" layout is broken
- Viewing Review Filter addon - 404 HOT 11
- Clarification about using Filter and Form addons HOT 1
- Template tag review_link deprecated? HOT 1
- Use email address from the user profile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from site-reviews.