Dear KK Sir,
Hope you are doing good and have recovered well!
I encountered the following error:
To replicate:
1. WAMP (I am using)
2. Apache: 2.4.54.2
3. MySQL: 8.1.0
4. PHP: 8.3.9
5. Code that triggered the error:
The error occurred when I added the <cms:func> block.
Regards,
Aashish
GXCPL
Hope you are doing good and have recovered well!
I encountered the following error:
Fatal error: Uncaught TypeError: addslashes(): Argument #1 ($string) must be of type string, array given in D:\wamp64\www\CTO\jadhaogin.in2.0\couch\functions.php on line 188
To replicate:
1. WAMP (I am using)
2. Apache: 2.4.54.2
3. MySQL: 8.1.0
4. PHP: 8.3.9
5. Code that triggered the error:
- Code: Select all
<cms:editable name="display_tech_specs" label="Display Technical Specifications?" type="checkbox" opt_values="Yes" opt_selected="" group="tech_specs" order="1" />
<cms:func _into='cond_display_tech_specs' display_tech_specs=''>
<cms:if display_tech_specs='Yes'>
show
<cms:else />
hide
</cms:if>
</cms:func>
<cms:editable name="tech_specs_title" label="Technical Specifications Table - Title" desc="If empty then 'Technical Specs' will be displayed" type="text" group="tech_specs" not_active=cond_display_tech_specs order="2" />
The error occurred when I added the <cms:func> block.
Regards,
Aashish
GXCPL