Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error en invoice_received_entity_cron() #36

Open
MrAkaki opened this issue Jan 18, 2019 · 0 comments
Open

Error en invoice_received_entity_cron() #36

MrAkaki opened this issue Jan 18, 2019 · 0 comments

Comments

@MrAkaki
Copy link

MrAkaki commented Jan 18, 2019

En una instalación completamente limpia obtengo este error.

Error: Using $this when not in object context in invoice_received_entity_cron() (line 95 of modules/contrib/e_invoice_cr/modules/invoice_received_entity/invoice_received_entity.module).
invoice_received_entity_cron()
call_user_func_array('invoice_received_entity_cron', Array) (Line: 392)
Drupal\Core\Extension\ModuleHandler->invoke('invoice_received_entity', 'cron') (Line: 235)
Drupal\Core\Cron->invokeCronHandlers() (Line: 133)
Drupal\Core\Cron->run() (Line: 75)
Drupal\Core\ProxyClass\Cron->run() (Line: 65)
Drupal\automated_cron\EventSubscriber\AutomatedCron->onTerminate(Object, 'kernel.terminate', Object)
call_user_func(Array, Object, 'kernel.terminate', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.terminate', Object) (Line: 88)
Symfony\Component\HttpKernel\HttpKernel->terminate(Object, Object) (Line: 32)
Stack\StackedHttpKernel->terminate(Object, Object) (Line: 671)
Drupal\Core\DrupalKernel->terminate(Object, Object) (Line: 22)

La linea exacta es esta, quite el $this, pero me dice que la función redirect no existe, alguien sabe a que se debe esto?
return $this->redirect('entity.invoice_received_entity.collection');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant