Welcome to the Joomla forum!
This topic was moved from the sub forum 'Migrating and Upgrading to Joomla! 3.x' here to the General Questions.
Ref. Technical Requirements for Joomla 3.x
If you intend to stay run Joomla 3.10.12 for a while, even though the current, supported version of Joomla is 5.1, it would be useful to find out exactly where the error with the function count() comes from. Turn on the option 'Debug System' in the System tab of the Global Configuration to get a more detailed error message that shows the name of the script and the line number where the error occures, followed by the PHP call stack. Post those messages to your reply.
Follow this tutorial to debug the sending of emails: How to debug SMTP mail in Joomla 3
This topic was moved from the sub forum 'Migrating and Upgrading to Joomla! 3.x' here to the General Questions.
Most likely one of the third party extensions is not compatible with PHP 8.0 and above. The recommended version of PHP for Joomla 3.10.12 is still PHP 8.0. It may still work in PHP 8.1, but recommend that the option 'Error Reporting' in the Server tab of the Global Configuration is set to 'None'.count(): Argument #1 ($value) must be of type Countable|array, bool given
Ref. Technical Requirements for Joomla 3.x
If you intend to stay run Joomla 3.10.12 for a while, even though the current, supported version of Joomla is 5.1, it would be useful to find out exactly where the error with the function count() comes from. Turn on the option 'Debug System' in the System tab of the Global Configuration to get a more detailed error message that shows the name of the script and the line number where the error occures, followed by the PHP call stack. Post those messages to your reply.
That is a separate issue and it should have been raised as a new topic. However, for your information, there can be a difference between the test email and other components sending emails to users who will in forms. The test email is sent to the email address defined in the Global Configuration as '', and that mailbox usually belongs to the email domain of the website, in other words, the domain of the web server hosting the website. The host may have limited the outgoing emails and connections to external mail server. That is common practice.I have stopped receiving emails from "forms" under that page/subpages even though my php mailer settings are correct and i can receive the test email successfully.
Follow this tutorial to debug the sending of emails: How to debug SMTP mail in Joomla 3
Statistics: Posted by toivo — Tue May 07, 2024 7:05 am