Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

× Contact Enhanced is a contact component manager created to replace Joomla! core contacts component and add lots of advantages and new features (see Features ) and it offers many plugins and modules for several different purposes,
Product page | Documentation Page

Error When displaying form

1 year 3 months ago #26731 by jestick
Joomla Version: 4.2.3
PHP Version 8.1.1
Contact Enhanced Version: 4.3.5

Deprecated: mb_strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in E:\Johnw10\documents\Websites\2022\joomla4\tutorial\public_html_ex1\libraries\vendor\joomla\string\src\phputf8\mbstring\core.php on line 41

I am testing a new site on my PC with WAMP server. When I load the contact form I get the above error. If I downgrade to PHP 7.4 the error goes away. Is there a fix for this

Please Log in or Create an account to join the conversation.

1 year 3 months ago #26732 by support
Greetings,

That file is part of a Joomla core, so it's harder to debug.

Can you please enable System debug in Joomla's Global Configuration and let me know the call stack?

The call stack will display all function calls..


Best regards.

Please Log in or Create an account to join the conversation.

1 year 3 months ago #26733 by jestick
See attached text file showing the diagnostic data
This attachment is hidden for guests.
Please log in or register to see it.

This message has an attachment file.
Please log in or register to see it.

Please Log in or Create an account to join the conversation.

1 year 3 months ago #26734 by jestick
This may be clearer it is the first call stack that occurs.
This attachment is hidden for guests.
Please log in or register to see it.

This message has an attachment file.
Please log in or register to see it.

Please Log in or Create an account to join the conversation.

1 year 3 months ago #26735 by support
Thank you for the call stacks.

I've been trying to reproduce the Deprecated Notice (technically it's not an error) locally, but without any success.
The only Contact Enhanced file that appears on the first call stack is components\com_contactenhanced\layouts\form\field\text.php, but on line 124 there's no function call on my file.

Anyway, I've created a new package with some changes to the file and I'll send it to you in a couple of minutes. Please install it and let me know if the Deprecated notice goes away.

Best regards,

Please Log in or Create an account to join the conversation.

1 year 3 months ago #26738 by jestick
That seemed to do the trick thank you. I did hit another snag.
My php upload size is 64M but in CE I allow 10M but when I do a test although the CE prompt on the upload says 10M I get the error file exceeds php.ini setting. But the system info says 64M for file upload size and POST size.

Please Log in or Create an account to join the conversation.

1 year 3 months ago #26740 by support
I'm glad this is solved. The next release will contain this fix.

As for the other issue, can you create a new topic? Just to keep things organized. ;-)
Are you using the Multiple Files upload field with Ajax enabled in the Form Field Parameters?
Also, please provide more details including the exact error message you see. A screenshot might help us to understand where you are getting this error.

Best regards,

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback