HI there,
We are using Directory Starter with Supreme Directory as a child.
The issue we have is that we are receiving an Internal Server Error 500 when posting reviews. The debug log shows the following :
————————————————————————————————
[10-Sep-2018 00:11:27 UTC] PHP Notice: Undefined variable: reviews in H:\root\home\thierrytu-001\www\trucking\wp-content\plugins\geodirectory\geodirectory_template_actions.php on line 1427
————————————————————————————————
I did make an attempt to fix this ( my php is quite limited ), and the error (above) did go away, but the Internal Server Error 500 persisted.
Tested again with all plug-ins disabled (except GeoDirectory and Google Maps) – same result.
Removed and re-installed Geodirectory and the 2 themes – same result – and of course the error mentioned above is now back.
——————————————————————————————
Just as puzzling is that the reviews are saved – yet when the posts are viewed, they indicate that there are no reviews, even though there are actually many reviews.
If you are going into to the site to check, the following work-flow will allow you to duplicate this issue. Please refer to the attached document for screen shots.
1. Login
2. In the “Search for Company Name”, enter Walmart – then click the Search button.
3. The Search Results page will show 2 listings for Walmart, and they both indicate that there are no reviews.
4. Click on either listing to post a review.
5. Click the “Write a Review” button.
6. You will notice that the resulting view has to scroll down past many reviews, before you see the “Leave a Review” section.
If you should look at the reviews via the admin section you will note that :
a) The reviews have been saved – not withstanding the error thrown, and
b) The Ratings have not been saved.
I’m pretty confident that I have set up Geodirectory correctly and am hoping that you will be able to discover / resolve this issue.
Many thanks in advance
b. stensrud