Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

yoman's avatar
Level 2

calling custom php function in laravel queues

Hi,

I have a custom function and try to use it in blade template which called on queue. The queue doesn't run and i checked at the log file which shows the function is undefined.

The function itself called in several places and no problem there. And one more, the code/queue runs on local machine, but if i deploy it to production it show above error in log.

I assume we have to "restart" the queue somehow and i'm curious why

0 likes
1 reply
tisuchi's avatar

For better understanding, I believe, share your code here.

Please or to participate in this conversation.