Support » Plugin: Ultimate Reviews » Not recommended! Unstable code – Riddled with errors

  • I really wanted to like the plugin.
    It has a ton of features that could make this a perfect Woocommerce reviews plugin.

    Plugin code is riddled with errors EVERYWHERE – turn on debug logging and watch the logs fill with errors generated by the plugin.

    Tons of PHP warnings (which are a real nuisance when trying to debug our own code), but other PHP errors also.

    I eventually had to uninstall, and switch to another plugin which is a real shame.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hi chickwithbob,

    Thank you for the review. Did you happen to get in touch with our support team? It would be helpful to know the exact notices you were getting, and where, so we can verify this and hopefully make any corrections necessary to eliminate them.

    AS I mentioned, all you need to do is set debug=true in your config file!
    Then start using your plugin….

    There are a ton of errors. Not sure why I need to speak to support – I already gave you the info you need.

    I will however modify my review if you can fix all the PHP warnings, since I do appreciate the effort placed in the user interface and functionality of the plugin.

    An example of the errors – watch the timestamps!
    There are so many warnings and errors I had to switch the plugin off as we couldn’t debug our own code:

    [05-Jul-2020 16:10:35 UTC] PHP Deprecated:  woocommerce_product_review_count is <strong>deprecated</strong> since version 3.0.0! Use woocommerce_product_get_review_count instead. in \wp-includes\functions.php on line 5088
    [05-Jul-2020 16:10:36 UTC] PHP Notice:  Undefined index: Post_Email in \wp-content\plugins\ultimate-reviews\Shortcodes\SubmitReview.php on line 342
    [05-Jul-2020 16:10:36 UTC] PHP Notice:  Undefined variable: Product_Names in \wp-content\plugins\ultimate-reviews\Shortcodes\DisplayReviews.php on line 412
    [05-Jul-2020 16:10:36 UTC] PHP Notice:  Undefined variable: Average_Score in \wp-content\plugins\ultimate-reviews\Shortcodes\DisplayReviews.php on line 672
    [05-Jul-2020 16:10:36 UTC] PHP Notice:  Undefined variable: Total_Reviews in \wp-content\plugins\ultimate-reviews\Shortcodes\DisplayReviews.php on line 673
    [05-Jul-2020 16:10:36 UTC] PHP Notice:  Undefined variable: Average_Score in \wp-content\plugins\ultimate-reviews\Shortcodes\DisplayReviews.php on line 676
    [05-Jul-2020 16:10:36 UTC] PHP Notice:  Undefined variable: Total_Reviews in \wp-content\plugins\ultimate-reviews\Shortcodes\DisplayReviews.php on line 678
    [05-Jul-2020 16:10:36 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:10:36 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:10:36 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:10:36 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:10:37 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:13:26 UTC] PHP Notice:  Undefined index: Post_Email in \wp-content\plugins\ultimate-reviews\Shortcodes\SubmitReview.php on line 342
    [05-Jul-2020 16:13:26 UTC] PHP Notice:  Undefined variable: Product_Names in \wp-content\plugins\ultimate-reviews\Shortcodes\DisplayReviews.php on line 412
    [05-Jul-2020 16:13:26 UTC] PHP Notice:  Undefined variable: Average_Score in \wp-content\plugins\ultimate-reviews\Shortcodes\DisplayReviews.php on line 672
    [05-Jul-2020 16:13:26 UTC] PHP Notice:  Undefined variable: Total_Reviews in \wp-content\plugins\ultimate-reviews\Shortcodes\DisplayReviews.php on line 673
    [05-Jul-2020 16:13:26 UTC] PHP Notice:  Undefined variable: Average_Score in \wp-content\plugins\ultimate-reviews\Shortcodes\DisplayReviews.php on line 676
    [05-Jul-2020 16:13:26 UTC] PHP Notice:  Undefined variable: Total_Reviews in \wp-content\plugins\ultimate-reviews\Shortcodes\DisplayReviews.php on line 678
    [05-Jul-2020 16:13:26 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:13:27 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:13:27 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:13:27 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:13:27 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:34 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:34 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:34 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:34 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:35 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:35 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:35 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:35 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:35 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:14:36 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 130
    [05-Jul-2020 16:19:00 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:00 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:00 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:00 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:01 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:02 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:02 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:02 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:02 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:19:02 UTC] PHP Warning:  A non-numeric value encountered in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 132
    [05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:37 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:38 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:38 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:38 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:38 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:38 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:20:38 UTC] PHP Notice:  Undefined variable: rating_html in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Replace_WooCommerce_Reviews.php on line 135
    [05-Jul-2020 16:22:41 UTC] PHP Deprecated:  update_usermeta is <strong>deprecated</strong> since version 3.0.0! Use update_user_meta() instead. in \wp-includes\functions.php on line 4713
    [05-Jul-2020 16:24:39 UTC] PHP Notice:  Undefined index: Post_Email in \wp-content\plugins\ultimate-reviews\Shortcodes\SubmitReview.php on line 342
    
    Plugin Support jaysupport

    (@jaysupport)

    Thank you for that. Just to follow up, we’ve released a new version of the plugin that corrects all of the issues causing these notices and eliminates them. Please make sure to update to version 2.1.30 of the plugin.

    Hi,

    Thanks for fixing ‘some’ of the errors. Errors are still occurring on your latest 2.1.3, including a serious one that prevents reviews from being able to be submitted at all when using your shortcode!

    The email address field is completely missing (shows a blank area where the field should be) when using your submit review shortcode. Hence now, no reviews can be left at all on our site!

    What I had to do to fix it:

    Declare the var $Post_Email at line 337 /Shortcodes/SubmitReview.php

    $Post_Email = ( isset($_REQUEST['Post_Email']) ) ? esc_attr( $_REQUEST['Post_Email'] ) : '';

    Then a few lines further down, replace as follows:

    //$ReturnString .= "<input type='email' name='Post_Email' id='Post_Email' value='" . isset( $_REQUEST['Post_Email'] ) ? esc_attr( $_REQUEST['Post_Email'] ) : '' . "' required/>";
    
    $ReturnString .= "<input type='email' name='Post_Email' id='Post_Email' value='" . $Post_Email . "' required />";

    Using isset inline like you had it causes PHP to freak out and not show the email address field (Tested on PHP 7.1 and 7.3 – same result)

    See a sample of the errors below – again, please turn on your debug logs when testing! This really should have been caught first time.

    [14-Jul-2020 09:35:08 UTC] PHP Notice:  Undefined index: Post_Email in \wp-content\plugins\ultimate-reviews\Shortcodes\SubmitReview.php on line 342
    [14-Jul-2020 09:39:21 UTC] PHP Notice:  Undefined index: Post_Email in \wp-content\plugins\ultimate-reviews\Shortcodes\SubmitReview.php on line 342
    [14-Jul-2020 12:43:34 UTC] PHP Notice:  Undefined index: Post_Email in \wp-content\plugins\ultimate-reviews\Shortcodes\SubmitReview.php on line 342
    [14-Jul-2020 12:58:46 UTC] PHP Notice:  Undefined index: Post_Email in \wp-content\plugins\ultimate-reviews\Shortcodes\SubmitReview.php on line 342
    [14-Jul-2020 13:03:21 UTC] PHP Notice:  Uninitialized string offset: 62 in \wp-content\plugins\ultimate-reviews\Functions\EWD_URP_Submit_Review.php on line 322

    The Undefined index: Post_Email errors should now go away with my fix.
    I’ll leave you to fix the last one.

    • This reply was modified 3 months, 2 weeks ago by chickwithbob.
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this review.