error on a page

2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 18   (RSS)

By Robarbh - March 18 - edited: March 18

Getting this error on a page

Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /home1/rick123/public_html/cmsAdmin/plugins/permalinks/permalinks_dispatcher.php on line 66 Warning: Cannot modify header information - headers already sent by (output started at /home1/rick123/public_html/cmsAdmin/plugins/permalinks/permalinks_dispatcher.php:66) in /home1/rick123/public_html/contact.php on line 2

I updated the prmalinks and fixed this 

now this error

Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home1/rick123/public_html/machform/includes/common-validator.php on line 146

Thanks 

Robert

Robert Hedrick

By Dave - March 18

Hi Robert, 

That error looks like it's with MachForm.  You might check if they have a more recent version you can upgrade to.  

Generally that MachForm error is caused when people used the older format of $array{'index'} instead of $array['index'].  

In PHP, accessing array elements with curly braces was deprecated in 7.4 and removed in 8. The fix is to upgrade the code to use square brackets for array element access instead.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com