Valenti, the theme that this web site uses, stopped updating automatically at 5.5.4 and thus has not received compatibility patches for PHP8.

The only thing in the Valenti theme that is incompatible with PHP8 is a single line in a single admin function.

To fix this in place for yourself, you need to edit the following file:

wp_content\themes\valenti\option-tree\includes\ot-functions-admin.php

Ctrl+F for create_function (it should be on line 68) and replace the line with:

add_filter('option_page_capability_' . ot_options_id(), function() use ( $caps ) return $caps; }, 999);

About The Author

Writer, Editor, Photographer, Video Girl, Audio Engineer, Broadcast Producer. Esports Veteran. I play Gnar, AMA.

Related Posts