deprecated parse_str() function in table.php, line 47

Resolve a deprecated parse_str() function error in a table.

Overview

The error occurs because the parse_str() function is called without checking if the query string is empty.
Wrap the parse_str() call in a conditional statement to only execute it when the query string is not empty. This prevents the deprecated warning and will be included in a future update.

Answered
Bugs ChronoForms v8
CD CDLMQSE 01 Feb, 2026

Hi,

I'm encountering two errors in the header of a table. It seems there's a call to a deprecated function in table.php, line 47.

How can is fix this?

Thanks

Max_admin Max_admin 02 Feb, 2026
Answer

Hi CDLMQSE

Line 47 is:

parse_str($urlpts["query"], $params);

You should change it to:

if(!empty($urlpts["query"])){
	parse_str($urlpts["query"], $params);
}

Thanks for posting about this, it should be fixed in the next update.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply