Tagged: Compatibility Issue, PHP version, wordpress update
I hope this message finds you well. I am reaching out regarding an issue I am encountering with the Enfold Builder after updating to PHP 8.2 and WordPress 6.7. While I understand that the support period for my license has expired, I wanted to share the details of the problem in case you can provide any guidance or a recommended course of action.
Upon attempting to use the builder, it crashes with the following errors:
Issue 1:
File: class-template-builder.php
Line: 2604
Code:
if (is_array($box) && isset($box['id']) && $box['id'] == $slug) {
Error Message:
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /code/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-template-builder.php:2604
Issue 2:
File: class-meta-box.php
Line: 172
Code:
if (isset($box['page']) && is_array($box['page'])) {
foreach ($box['page'] as $area) {
Given these errors, it seems the code may not be fully compatible with the newer PHP and WordPress versions. If an update is available or a patch could address this, I would greatly appreciate any assistance or direction you could provide.
Thank you for taking the time to review this matter. I appreciate your help and understanding.
Thank You
Adeel Nazar
Hey seemeconsulting,
Which version of the theme are you running?
Best regards,
Rikard
Theme Version is 6.0.6