Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1496174

    Hi,

    I have problems when updating my php version of the server to php 8.1. I already deactivated the plugin and switched to twenty twenty, the update works. If i activate Enfold theme i get a critical error.

    Hope you could please help me out!

    #1496185

    Hey webzies,

    Could you post the full error message please?

    Best regards,
    Rikard

    #1496197
    This reply has been marked as private.
    #1496202

    Hey webzies,

    Thank you for the inquiry.

    It looks like the critical error is caused by the create_function() in your child theme. This function was deprecated in php 7.2 and completely removed in PHP 8.0, which is why switching to PHP 8.1 triggers a fatal error.

    You’ll need to replace any instances of create_function() in your child theme. Since this change is in your child theme and not Enfold core, you’ll need to make those updates yourself. You can search your child theme files for “create_function” to locate all instances.

    Let us know if the issue persists after making those changes.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.