<p>Hi everyone,</p><p>I got critical error when I try to change font of site on vibe.</p><p>What do I need to do to fix this and still keep the data in frontend?</p><pre>
WordPress version 6.1.1
Active theme: Tutorly (version 1.2.1)
Current plugin: (version )
PHP version 8.0.21
Error Details
=============
An error of type E_ERROR was caused in line 233 of the file /var/www/html/wp-content/themes/tutorly/vibe-options.php. Error message: Uncaught TypeError: array_merge(): Argument #2 must be of type array, bool given in /var/www/html/wp-content/themes/tutorly/vibe-options.php:233
Stack trace:
#0 /var/www/html/wp-content/themes/tutorly/vibe-options.php(233): array_merge()
#1 /var/www/html/wp-content/themes/tutorly/vibe-options.php(620): vibe_options_get_sections()
#2 /var/www/html/wp-includes/class-wp-hook.php(308): setup_framework_options()
#3 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#4 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /var/www/html/wp-settings.php(617): do_action()
#6 /var/www/html/wp-config.php(96): require_once('...')
#7 /var/www/html/wp-load.php(50): require_once('...')
#8 /var/www/html/wp-admin/admin.php(34): require_once('...')
#9 /var/www/html/wp-admin/theme-editor.php(10): require_once('...')
#10 {main}
thrown
</pre>
We get no such errors in PHP version 8.1.1 . Also, the line numbers in the errror messsage you shared mismatches with the line number reported in the error.
Ok please try goto wp-admin -> Tutorly -> font manager -> select some fonts there ,it should work .
however this is a bug we should fix .
Thank you for sharing this. I am testing this and will share report in few minutes.
We get no such errors in PHP version 8.1.1 . Also, the line numbers in the errror messsage you shared mismatches with the line number reported in the error.
Is it possible to check your site ?
Tks for reply,
Issus solved in ticket 3171481!