PHP 8.3
Have a channel form, I have an MSM site. I have the form on site 'B' for a channel on site 'A' and am using the site parameter to do this. I get a php deprecation error loading the page:
Warning
Attempt to read property "show_field_names" on null
ee/ExpressionEngine/Addons/grid/libraries/Grid_lib.php, line 84
Template fwiw:
{exp:channel:form channel="contact" error_handling="inline" site="default_site"}
<br>
{global_errors}{field} :{error}{/global_errors}<br><br>
{field_errors}
{field}: {error}<br>
{/field_errors}
<br><br>
<fieldset>
<label for="title">Title</label>
<input type="text" name="title" id="title" value="{title}" size="50" maxlength="200" onkeyup="liveUrlTitle(event);">
{error:title}
</fieldset>
<fieldset>
<label for="url_title">URL Title</label>
<input type="text" name="url_title" id="url_title" value="{url_title}" maxlength="200" size="50">
{error:url_title}
</fieldset>
<fieldset class="element-wrapper text-wrap">
<label for="contact_email" class="element-label">Contact Email</label>
{field:contact_email}
{error:contact_email}
</fieldset>
<fieldset class="element-wrapper text-wrap">
<label for="contact_phone" class="element-label">Contact Phone</label>
{field:contact_phone}
{error:contact_phone}
</fieldset>
<fieldset class="element-wrapper grid-wrap">
<label for="contact_address" class="element-label">Contact Address</label>
{field:contact_address}
{error:contact_address}
</fieldset>
<fieldset class="element-wrapper textarea-wrap">
<label for="page_content" class="element-label">Page Content</label>
{field:page_content}
{error:page_content}
</fieldset>
<fieldset class="element-wrapper text-wrap">
<label for="seo_title" class="element-label">SEO Title</label>
{field:seo_title}
{error:seo_title}
</fieldset>
<fieldset class="element-wrapper textarea-wrap">
<label for="seo_desc" class="element-label">SEO Description</label>
{field:seo_desc}
{error:seo_desc}
</fieldset>
<button type="submit">Submit</button>
{/exp:channel:form}
PHP 8.3
Have a channel form, I have an MSM site. I have the form on site 'B' for a channel on site 'A' and am using the site parameter to do this. I get a php deprecation error loading the page:
Template fwiw: