ThemeFuse / Unyson

A WordPress framework that facilitates the development of WP themes
http://unyson.io
924 stars 218 forks source link

Problem with old Unyson on WooCommerce sites #4219

Open FreshspaceHQ opened 2 years ago

FreshspaceHQ commented 2 years ago

Hi there,

We've got some sites running on Unyson Version: 2.7.26 with theme The Core Child Version: 1.0.

Since some updates (not sure if it's WordPress, WooCommerce or the recent Unyson update. The header and footer disapears on Product pages (Single etc), when logged in, it shows this message in the header / footer:

Template part has been deleted or is unavailable: header 

 Template part has been deleted or is unavailable: footer 

When not logged in, it doesn't show those messages. See https://www.rcdalgliesh.com/stock/

We swithed themes to see if we could replicate the error, using Storefront but could not replicate it.

Could you advise?

FreshspaceHQ commented 2 years ago

Hi there,

Also got this from the error log:

[07-Mar-2022 15:14:16 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'the_core_child_enqueue_scripts' not found or invalid function name in /home/rcdalglieshfresh/public_html/wp-includes/class-wp-hook.php on line 307

FreshspaceHQ commented 2 years ago

Hello again,

Also got this error message via cpanel error log. Hope this helps:

2022-03-09 14:41:39.204582 [NOTICE] [4169989] [172.70.90.217:37930:HTTP2-9#APVH_davidwhitson.co.uk:443] [STDERR] PHP Warning: session_start(): Cannot start session when headers already sent in /home/davidwhitsonco/public_html/wp-content/plugins/unyson/framework/includes/hooks.php on line 229