Fatal error: Uncaught TypeError when accessing offset of type string in Houzez theme’s index.php” [closed]

“Hello forum members,

I’m encountering a fatal error in the Houzez WordPress theme’s index.php file and I’m seeking assistance in resolving it. The error message I’m receiving is as follows:

‘Fatal error: Uncaught TypeError: Cannot access offset of type string on string in C:xampp3htdocswordpresswp-contentthemeshouzezindex.php:6 Stack trace: #0’

The error seems to be related to accessing an offset of a string variable on line 6 of the index.php file. Here is the line of code causing the issue:

‘if( $sticky_sidebar[‘default_sidebar’] != 0 ) {‘

I haven’t made any modifications to the theme or the index.php file. Can someone please help me understand what could be causing this error and suggest possible solutions? I’d appreciate any insights or guidance.

Thank you in advance for your assistance!”