Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1421935

    HI, I have a problem with my website. If update my php version, the website crash. I did a debug and this what I get:
    [06-Jun-2022 17:26:54 UTC] PHP Warning: Array to string conversion in /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/block-editor.php on line 340
    [06-Jun-2022 17:26:54 UTC] PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/class.wp-dependencies.php:186
    Stack trace:
    #0 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/class.wp-dependencies.php(186): explode()
    #1 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/class.wp-styles.php(371): WP_Dependencies->all_deps()
    #2 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/class.wp-dependencies.php(126): WP_Styles->all_deps()
    #3 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/block-editor.php(347): WP_Dependencies->do_items()
    #4 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/block-editor.php(479): _wp_get_iframed_editor_assets()
    #5 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-admin/edit-form-blocks.php(282): get_block_editor_settings()
    #6 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-admin/post-new.php(72): require(‘…’)
    #7 {main}
    thrown in /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/class.wp-dependencies.php on line 186
    [06-Jun-2022 17:54:51 UTC] PHP Warning: Array to string conversion in /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/block-editor.php on line 340
    [06-Jun-2022 17:54:51 UTC] PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/class.wp-dependencies.php:186
    Stack trace:
    #0 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/class.wp-dependencies.php(186): explode()
    #1 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/class.wp-styles.php(371): WP_Dependencies->all_deps()
    #2 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/class.wp-dependencies.php(126): WP_Styles->all_deps()
    #3 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/block-editor.php(347): WP_Dependencies->do_items()
    #4 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/block-editor.php(479): _wp_get_iframed_editor_assets()
    #5 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-admin/edit-form-blocks.php(282): get_block_editor_settings()
    #6 /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-admin/post-new.php(72): require(‘…’)
    #7 {main}
    thrown in /var/www/vhosts/addis-ababa-living-lab.com/httpdocs/wp-includes/class.wp-dependencies.php on line 186

    My hosting says it is a problem inside the website. Please can you help me? Also I cant get the child get the stylesheet working.

    #1421942

    Hey InekeWerkt,
    I see that you are using an old version of the theme that doesn’t support PHP v8 you are using Enfold v4.8.6.2
    PLease update to v5.6.6, you may need to manually update with the instructions below, but please first note that if your child theme has a custom header.php or footer.php you will need to remove these and then after the update make new custom header.php or footer.php from the current files. It would be better to not use custom header.php or footer.php at all as most update issues are a result from these custom files.
    To update your version of Enfold you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg

    Best regards,
    Mike

    #1421986

    Yes – Mikes way to update is the way i prefer too! – if the versions are not so distant to each other. That is a big jump from 4.8 to 5.6
    To have a rollback to this older version, I would use the following update procedure.
    https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107

    #1422142

    Thank you so much! It’s working!

    #1422147

    Hi,

    Great, I’m glad that you got things working. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1422155
    This reply has been marked as private.
    #1422156

    And I want my breadcrumb under the header. It’s there already but ofcourse it is not working on mobile. I think I can place in the function php but I dan’t know how. Thanks again!

    #1422205

    Hi,

    Thanks for the update. We would need to check the backend of your site, but the login details you posted earlier are not working. Please check and verify.

    Best regards,
    Rikard

    #1422212
    This reply has been marked as private.
    #1422215

    Sorry, I made a new one:

    • This reply was modified 1 year, 1 month ago by Rikard.
    #1422239

    Hi,

    Thanks for that. You might have to deactivate the CSS file compression option under Enfold->Performance in order to see the changes in your child themes style sheet. I did that for you, and changes are reflecting after that. Please review your site.

    Best regards,
    Rikard

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