01generator Posted September 28, 2015 Share Posted September 28, 2015 Hello, I am developing a module that uses the web service of a delivery provider in order to register orders and get delivery reference id. All is working good until i add bulk action for mass printing of orders. To be precise i did add any code to the bulk actions yet. All I did is add bulk actions in __construct and the appropriate functions. $this->bulk_actions = array( 'printSelected' => array( 'text' => $this->l('Εκτύπωση επιλεγμένων'), 'confirm' => $this->l('Να προχωρήσω στη εκτύπωση?')), 'printSheet' => array( 'text' => $this->l('Εξαγωγή επιλεγμένων παραγγελιών'), 'confirm' => $this->l('Να προχωρήσω στη εξαγωγή?')), ); And the functions protected function processBulkPrintSelected() { print_r($this->boxes); } protected function processBulkPrintSheet() { print_r($this->boxes); } Now when I click on one bulk action i get a Fatal Error: Uncaught exception 'ReflectionException' you can see the attachment for more details. Any ideas why this is happening? I developed bulk actions before but i never faced an issue like this! I am developing the module on 1.6.1.0 Link to comment Share on other sites More sharing options...
01generator Posted September 28, 2015 Author Share Posted September 28, 2015 News Flash! I upgraded my prestashop release from 1.6.1.0 to the latest 1.6.1.1 That solved the problem. 1.6.1.0 seems to be little bit buggy for modules as i countered more issues. Anyway if anyone is facing the same issue out there and want a quick solution than debuggin, then upgrading is one. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now