• Resolved Uriahs Victor

    (@uriahs-victor)


    I was testing out your plugin quickly on a tastewp site and after taking 20 minutes trying to figure out how to set it up…the site crashed during the the process. Since it was a tastewp site, i couldn’t get access to the filesystem to bring it back up. But the error message was this:

    Fatal error: Uncaught ValueError: range(): Argument #3 ($step) must not exceed the specified range in /s4-bleachfather/wordpress/wp-content/plugins/food-store/includes/wfs-core-functions.php:644 Stack trace: #0 /s4-bleachfather/wordpress/wp-content/plugins/food-store/includes/wfs-core-functions.php(644): range() #1 /s4-bleachfather/wordpress/wp-content/plugins/food-store/includes/class-wfs-services.php(83): wfs_get_store_timing() #2 /s4-bleachfather/wordpress/wp-includes/class-wp-hook.php(324): WFS_Services->set_default_cookies() #3 /s4-bleachfather/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /s4-bleachfather/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /s4-bleachfather/wordpress/wp-settings.php(644): do_action() #6 /s4-bleachfather/wordpress/wp-config.php(47): require_once('/s4-bleachfathe...') #7 /s4-bleachfather/wordpress/wp-load.php(50): require_once('/s4-bleachfathe...') #8 /s4-bleachfather/wordpress/wp-blog-header.php(13): require_once('/s4-bleachfathe...') #9 /s4-bleachfather/wordpress/index.php(17): require('/s4-bleachfathe...') #10 {main} thrown in /s4-bleachfather/wordpress/wp-content/plugins/food-store/includes/wfs-core-functions.php on line 644

    You might want to add some checks in place to check the value of $step and prevent that from happening. Unfortunately I can’t tell you exactly how the setup was because I was just trying to get the plugin to show that delivery and pickup times are available but instead it was saying no times available…so I tried some other settings and then eventually when i enabled the “…store always open…” option the site crashed.

Viewing 1 replies (of 1 total)
  • Plugin Author WP Scripts

    (@wpscripts)

    Hello,

    Thanks for using our food store plugin. It seems you got that issue because of improper setup for store open and close time. Please setup that properly. In our next version release we will try to add some conditions so that it would not make any issues.

    Thanks,

Viewing 1 replies (of 1 total)
  • The topic ‘Crashed site’ is closed to new replies.