Jump to content

Edit History

crustydod

crustydod

As soon as cache was cleared, this started happening..

I'm overriding the AdminOrderController.php

Here is my override in /override/controllers/admin/AdminOrdersController.php

<?php
class AdminOrdersController extends AdminOrdersControllerCore {
    public function postProcess() {

    }
}

Yes, an actual blank file as I've removed everything and nothing works.

Did I delete the class_index.php? Yes.

If it helps, when class_index.php is regenerated, there is no path to the AdminOrderControllerCore, next array is my override. Is that suppost to be like that?

EDIT: it actually looks like this:

'AdminOrdersController' => 
  array (
    'path' => '',
    'type' => 'class',
    'override' => false,
  ),
  'AdminOrdersControllerCore' => 
  array (
    'path' => 'override/controllers/admin/AdminOrdersController.php',
    'type' => 'class',
    'override' => false,
  ),

Is the file AdminOrderController.php present? Yes and not empty, it is as it is.

No matter what I do, all of a sudden this started happening.

What's going on?

The only difference is that before it worked, cleared cache, not working anymore with the error..

crustydod

crustydod

As soon as cache was cleared, this started happening..

I'm overriding the AdminOrderController.php

Here is my override in /override/controllers/admin/AdminOrdersController.php

<?php
class AdminOrdersController extends AdminOrdersControllerCore {
    public function postProcess() {

    }
}

Yes, an actual blank file as I've removed everything and nothing works.

Did I delete the class_index.php? Yes.

If it helps, when class_index.php is regenerated, there is no path to the AdminOrderControllerCore, next array is my override. Is that suppost to be like that?

Is the file AdminOrderController.php present? Yes and not empty, it is as it is.

No matter what I do, all of a sudden this started happening.

What's going on?

The only difference is that before it worked, cleared cache, not working anymore with the error..

×
×
  • Create New...