Totally Zenned
- Join Date:
- Apr 2007
- Location:
- Vancouver, Canada
- Posts:
- 1,566
- Plugin Contributions:
- 58
Shipping Estimator Order Class
Line 84:
require(DIR_WS_CLASSES . 'order.php');
Should be:
require_once(DIR_WS_CLASSES . 'order.php');
Views: 621
Totally Zenned
Line 84:
require(DIR_WS_CLASSES . 'order.php');
Should be:
require_once(DIR_WS_CLASSES . 'order.php');
Sensei
What's the use-case scenario where you're triggering a need for this?
Sensei
Whenever a script appears to need a "require_once" it suggests that there's some sort of "loop" going on that ought not to be there.
So, merely changing from "require" to "require_once" would only be a cheap bandage to a potentially bigger root cause.
Hence the request for more information.
Without further information substantiating your "bug report", it suggests that perhaps your issue is really related to changes you've made elsewhere that need some refining.
Tell staff why this post should be reviewed.