# Problem with inodes and how to cancel queue campaign

**URL:** https://forum.mautic.org/t/problem-with-inodes-and-how-to-cancel-queue-campaign/18711
**Category:** Product Support
**Tags:** mautic-3, community, discussion
**Created:** [March 25, 2021, 1:47am UTC](https://forum.mautic.org/t/problem-with-inodes-and-how-to-cancel-queue-campaign/18711 "2021-03-25T01:47:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![led.dhany](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/led.dhany/32/486_2.png) [@led.dhany](https://forum.mautic.org/u/led.dhany)
#### Post date: [March 25, 2021, 1:47am UTC](https://forum.mautic.org/t/problem-with-inodes-and-how-to-cancel-queue-campaign/18711/1 "2021-03-25T01:47:13Z")

</div>

**Your software**  
My Mautic version is:3.3.1  
My PHP version is:7.4.15  
My Database type and version is: mysqlnd 7.4.15

**Your problem**  
My problem is:

These errors are showing in the log:  
[2021-03-22 06:30:15] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at _**/mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 06:30:15] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 06:35:12] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at /**_ /mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 06:35:12] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 06:40:13] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at / _**/mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 06:40:13] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 06:45:11] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at /**_ /mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 06:45:11] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 06:50:11] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at / _**/mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 06:50:11] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 06:55:13] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at /**_ /mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 06:55:13] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 07:00:16] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at / _**/mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 07:00:16] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 07:05:10] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at /**_ /mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 07:05:10] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 07:10:14] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at / _**/mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 07:10:14] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 07:15:22] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at /**_ /mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 07:15:22] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 07:20:13] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at / _**/mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 07:20:13] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 07:25:10] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at /**_ /mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 07:25:10] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 07:30:14] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at / _**/mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 07:30:14] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 07:35:21] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at /**_ /mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 07:35:21] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 07:40:11] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at / _**/mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 07:40:11] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 07:45:17] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at /**_ /mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 07:45:17] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 07:50:12] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at / _**/mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 07:50:12] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 07:55:12] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at /**_ /mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 07:55:12] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 08:00:18] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at / _**/mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 08:00:18] mautic.WARNING: Command `mautic:emails:send` exited with status code 1    
[2021-03-22 08:05:11] mautic.NOTICE: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHeaders() on bool (uncaught exception) at /**_ /mautic/app/bundles/EmailBundle/Command/ProcessEmailQueueCommand.php line 99 while running console command `mautic:emails:send`    
[2021-03-22 08:05:11] mautic.WARNING: Command `mautic:emails:send` exited with status code 1

Steps I have tried to fix the problem:

i am new on mautic and have less programming knowledge.

I am using SMTP service from share hosting.  
i have no problem sending email before, but after problem with inodes on my hosting server, i remove all file \*.message on folder …/mautic/var/spool .

After that, i make new campaign with email, but no email received by my recipient.

My question:

1. Is it safe to remove file \*.message in folder …/mautic/var/spool ? If not, what is solution to remove large inodes from mautic?
2. How to solve problem with my campaign that no email received by my recipient?
3. Below are the logs file, but i have no knowledge how to solve the problem. Please help me for the solution.

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [March 26, 2021, 7:31am UTC](https://forum.mautic.org/t/problem-with-inodes-and-how-to-cancel-queue-campaign/18711/2 "2021-03-26T07:31:33Z")

</div>

Hello!

> [@led.dhany](#):
>
> I am using SMTP service from share hosting.

If you decide to do that, you’ll have issues with spamboxing. You are at the mercy of other ‘tenants’ using the same IP. If someone unleashes bad traffic you will be punished too. Use a third party SMTP asap.

> [@led.dhany](#):
>
> i have no problem sending email before, but after problem with inodes on my hosting server, i remove all file \*.message on folder …/mautic/var/spool .
> 
> After that, i make new campaign with email, but no email received by my recipient.

This means you have WAAY too many files. And it will be a problem forever for you unless you know how to delete obsolete files from your hosting.

My question:

> [@led.dhany](#):
>
> 1. Is it safe to remove file \*.message in folder …/mautic/var/spool ?

If you remove them, you’ll see these emails being sent, but in reality they won’t be sent.  
This is the equivalent of the postman trowing all his mails into the river.

> [@led.dhany](#):
>
> If not, what is solution to remove large inodes from mautic?

Inodes are not ‘large’ and they don’t belong to ‘mautic’. They belong to ANY files in your file system.  
**It’s more like you have a set number of licence plate combinations for cars, and people want to buy more cars, but there are no licence plates left.**  
If I want to be evil: limiting inodes is a way for your host to squeeze many tenants on one server without telling you that you are limited.

> **[What Are Inodes in Linux and How Are They Used?](https://helpdeskgeek.com/linux-tips/what-are-inodes-in-linux-and-how-are-they-used/)**
>
> Everything in Linux is considered a file to maintain consistency. That includes hardware devices, printers, directories, and processes. Regular files such as music, text, videos, and other multimedia files also \[...\]

> [@led.dhany](#):
>
> 1. How to solve problem with my campaign that no email received by my recipient?
> 2. Below are the logs file, but i have no knowledge how to solve the problem. Please help me for the solution.

Well, it really depends how your campaign is built. Did your contacts leave the campaign? Are they waiting for the next step? You can any time add a new campaign for the members of the previous campaign.

**Solution:**

1. get a better VPS, Mautic will grow in number of files
2. get a third party smtp
3. learn how to inbox better and be a better emailer
4. read community videos and content about Mautic

---

<div class="post-metadata">

### Author: ![led.dhany](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/led.dhany/32/486_2.png) [@led.dhany](https://forum.mautic.org/u/led.dhany)
#### Post date: [March 27, 2021, 1:14pm UTC](https://forum.mautic.org/t/problem-with-inodes-and-how-to-cancel-queue-campaign/18711/3 "2021-03-27T13:14:43Z")

</div>

Thank you @joeyk for your answer. Because i’m still learning about mautic, and have no programming or linux knowledge. But eager to learn

based on your advice, i am still looking which VPS and third party SMTP are suit for me. Thank you. But still, i have question while i am still using my share hosting server just for learning mautic before move to VPS and other 3rd party SMTP server.

My share hosting limiting for sending email for 250 emails/hour.  
So, i set the email configuration on mautic

 ![queue](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/211e62132f6cd1a6bc27486357fd5ef80f05054b.png)

Next step i remove all \*.message on spooler folder, and try to start over making new campaign.

When sending new campaign to 3 emails, 3 email receive it but not on the campaign dashboard and report dashboard

 ![email](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/ea7767f5ddafe217709c863c19b50475c1abf4f4.png)  
 ![Report](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/00ff23b341f7f8b41cd73f487bc7abc3fdbcf4ed.jpeg)

and based on the log, what is the solution ?

[2021-03-27 19:11:26] mautic.NOTICE: PHP Notice - Trying to access array offset on value of type null - in file /xxx/yyy/mautic/app/bundles/EmailBundle/Views/FormTheme/Email/_emailform\_dynamicContent\_entry\_filters\_entry\_filters\_entry\_widget.html.php - at line 14 {“mauticTemplateVars”:{“app”:"[object] (Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables: {})",“value”:null,“attr”:{“class”:“form-control”},“form”:"[object] (Symfony\Component\Form\FormView: null)",“id”:"emailform\_dynamicContent\_0\_filters\_0\_filters\_\_\_name_\_",“name”:“ **name** ”,“full\_name”:“emailform[dynamicContent][0][filters][0][filters][**name**]”,“disabled”:false,“label”:false,“label\_format”:null,“multipart”:false,“block\_prefixes”:[“form”,“dynamic\_content\_filter\_entry\_filters”,"\_emailform\_dynamicContent\_entry\_filters\_entry\_filters\_entry"],“unique\_block\_prefix”:"\_emailform\_dynamicContent\_entry\_filters\_entry\_filters\_entry",“translation\_domain”:null,“cache\_key”:“_emailform\_dynamicContent\_entry\_filters\_entry\_filters\_entry\_dynamic\_content\_filter\_entry\_filters",“errors”:"[object] (Symfony\Component\Form\FormErrorIterator: )",“valid”:true,“data”:null,“required”:true,“size”:null,“label\_attr”:[],“compound”:true,“method”:“POST”,“action”:"",“submitted”:false,“mauticContent”:“email”,“mauticTemplate”:"MauticEmailBundle:FormTheme\Email:emailform\_dynamicContent\_entry\_filters\_entry\_filters\_entry\_widget.html.php",“view”:"[object] (Mautic\CoreBundle\Templating\Engine\PhpEngine: {})"},“app”:"[object] (Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables: {})",“value”:null,“attr”:{“class”:“form-control”},“form”:"[object] (Symfony\Component\Form\FormView: null)",“id”:"emailform\_dynamicContent\_0\_filters\_0\_filters\_\_\_name_”,“name”:“ **name** ”,“full\_name”:“emailform[dynamicContent][0][filters][0][filters][**name**]”,“disabled”:false,“label”:false,“label\_format”:null,“multipart”:false,“block\_prefixes”:[“form”,“dynamic\_content\_filter\_entry\_filters”,"\_emailform\_dynamicContent\_entry\_filters\_entry\_filters\_entry"],“unique\_block\_prefix”:"\_emailform\_dynamicContent\_entry\_filters\_entry\_filters\_entry",“translation\_domain”:null,“cache\_key”:"\_emailform\_dynamicContent\_entry\_filters\_entry\_filters\_entry\_dynamic\_content\_filter\_entry\_filters",“errors”:"[object] (Symfony\Component\Form\FormErrorIterator: )",“valid”:true,“data”:null,“required”:true,“size”:null,“label\_attr”:,“compound”:true,“method”:“POST”,“action”:"",“submitted”:false,“mauticContent”:“email”,“mauticTemplate”:“MauticEmailBundle:FormTheme\Email:\_emailform\_dynamicContent\_entry\_filters\_entry\_filters\_entry\_widget.html.php”,“view”:"[object] (Mautic\CoreBundle\Templating\Engine\PhpEngine: {})",“isPrototype”:true,“filterType”:"",“filterGroup”:""}

here is the file mautic/app/bundles/EmailBundle/Views/FormTheme/Email/\_emailform\_dynamicContent\_entry\_filters\_entry\_filters\_entry\_widget.html.php

 ![php](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/24a92b601f8e2b36cc9b7ab3eb29e45d0e3a923e.png)

Thank you
