Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0 dev] Bugs in field manager #37

Open
JoomlaBelarus opened this issue Apr 21, 2024 · 0 comments
Open

[4.0 dev] Bugs in field manager #37

JoomlaBelarus opened this issue Apr 21, 2024 · 0 comments

Comments

@JoomlaBelarus
Copy link

When enable php errors Maximum i see same notes
Above title field

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/testsite.org/plugins/fields/radicalmultifield/src/Extension/RadicalMultiField.php on line 313

i change row - $extendfield = explode(',', (string)$this->params->get('extendfield'));

and above Template for category * and Template for item *

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/testsite.org/plugins/fields/radicalmultifield/src/Field/PluginlayoutField.php on line 94

I add (string) - no notice
// Get the template.
$template = (string)$this->element['template'];

	$template = preg_replace('#\W#', '',  $template );

	// Get the style.
	$template_style_id = '';
	if ($this->form instanceof Form)
	{
		$template_style_id = (string)$this->form->getValue('template_style_id');
		$template_style_id = preg_replace("#\W#", '', $template_style_id);
	}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant