Home Forums LoveStory PHP Fatal error

PHP Fatal error

  • karanbsingh

    [24-Aug-2021 08:30:02 UTC] PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /home/varunsirohi/public_html/mysonea.com/wp-content/themes/lovestory/framework/classes/themex.style.php:135
    Stack trace:
    #0 /home/varunsirohi/public_html/mysonea.com/wp-content/themes/lovestory/framework/classes/themex.style.php(135): implode()
    #1 /home/varunsirohi/public_html/mysonea.com/wp-includes/class-wp-hook.php(303): ThemexStyle::renderFonts()
    #2 /home/varunsirohi/public_html/mysonea.com/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #3 /home/varunsirohi/public_html/mysonea.com/wp-includes/plugin.php(470): WP_Hook->do_action()
    #4 /home/varunsirohi/public_html/mysonea.com/wp-includes/general-template.php(3015): do_action()
    #5 /home/varunsirohi/public_html/mysonea.com/wp-content/themes/lovestory/header.php(11): wp_head()
    #6 /home/varunsirohi/public_html/mysonea.com/wp-includes/template.php(770): require_once(‘/home/varunsiro…’)
    #7 /home/varunsirohi/public_html/mysonea.com/wp-includes/template.php(716): load_template()
    #8 /home/varunsirohi/public_html/mysonea.com/wp-includes/general-template.php(48): locate_template()
    #9 /home/varunsirohi/public_html/mysonea.com/wp-content/themes/lovestory/template-register.php(6): get_header()
    #10 /home/varunsirohi/public_html/mysonea.com/wp-includes/template-loader.php(106): include(‘/home/varunsiro…’)
    #11 /home/varunsirohi/public_html/mysonea.com/wp-blog-header.php(19): require_once(‘/home/varunsiro…’)
    #12 /home/varunsirohi/public_html/mysonea.com/index.php(17): require(‘/home/varunsiro…’)
    #13 {main}
    thrown in /home/varunsirohi/public_html/mysonea.com/wp-content/themes/lovestory/framework/classes/themex.style.php on line 135

    ihor Staff

    Please sign in or register to view replies from the support staff.

    karanbsingh

    Thanks for responding!

    We tried to shift to PHP 8.0 and this problem came, Then we shifted back to PHP 7.x and also restored & overwritten by the backup but the problem continued. No other changes at all.

    karanbsingh

    wp-content/themes/lovestory/framework/classes/themex.style.php on line 135 implode($fonts, ‘”,”).

    changed to implode(‘”,”‘, $fonts).

    ihor Staff

    Please sign in or register to view replies from the support staff.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.