After upgrading from PHP 7.4 to 8.3 I got a fatal PHP error in /wp-content/themes/mana/framework/common-functions.php. I was able to solve it and now I want to deploy the solution to multiple installations all using an already active child theme.
Do I put the updated php function in a file common-functions.php and upload it to the same directory structure within the child theme as it originated from the parent theme -> /wp-contnet/themes/mana-child/framework/common-functions.php? Or do I put it simply in the root directory of the child theme?
Do I need to do an include function somewhere (functions.php)?
Thx in advance!
[ad_2]
If this is the theme you’re referring to: [https://themeforest.net/item/mana-responsive-multipurpose-theme/5895568](https://themeforest.net/item/mana-responsive-multipurpose-theme/5895568) – it looks like it has been abandoned (last update was in 2020), so I’d recommend finding an alternative ASAP. Any vulnerabilities found in that theme or in any of its components are unlikely to be fixed. Looking at the plugins that come with that theme eg Revolution Slider has vuln’s announced regularly eg [https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/revslider/slider-revolution-6612-authenticated-administrator-arbitrary-file-upload](https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/revslider/slider-revolution-6612-authenticated-administrator-arbitrary-file-upload) – so that puts your site at risk of hacking.