• Resolved davemball

    (@davemball)


    Hi I have a slight issue I’m trying to migrate a word press site I have a 4.6.4 image and I need to transfer it to new hosting and only 4.7.3 is available when I do the migration I end up with the following errors

    the issue is that we have a ws 4.6 backup using wp-ali-in one migration plugin and when we restore it to a 4.7 site we get the error

    the site backup is at https://www.kelvincourt.scot/broken/

    Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /home/kelvinco/public_html/broken/wp-includes/Requests/Transport/cURL.php on line 508

    Fatal error: Uncaught Error: Function name must be a string in /home/kelvinco/public_html/broken/wp-content/themes/rippledigital/framework/php/class-style-generator.php:123 Stack trace: #0 /home/kelvinco/public_html/broken/wp-includes/class-wp-hook.php(298): avia_style_generator->create_styles(”) #1 /home/kelvinco/public_html/broken/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/kelvinco/public_html/broken/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/kelvinco/public_html/broken/wp-includes/general-template.php(2574): do_action(‘wp_head’) #4 /home/kelvinco/public_html/broken/wp-content/themes/rippledigital/header.php(57): wp_head() #5 /home/kelvinco/public_html/broken/wp-includes/template.php(684): require_once(‘/home/kelvinco/…’) #6 /home/kelvinco/public_html/broken/wp-includes/template.php(643): load_template(‘/home/kelvinco/…’, true) #7 /home/kelvinco/public_html/broken/wp-includes/general-template.php(45): locate_template(Array, true) #8 /home/kelvinco/public_ht in /home/kelvinco/public_html/broken/wp-content/themes/rippledigital/framework/php/class-style-generator.php on line 123

    Also if I import it to a 4.6 WordPress it works, but if I then update the word press site to 4.7.3 then export it and import it to the new hosting provider (siteground) 4.7.3 we still get the errors.
    the site backup is at https://www.kelvincourt.scot/restorenotwork/

    Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /home/kelvinco/public_html/restorenotwork/wp-includes/Requests/Transport/cURL.php on line 508

    Warning: session_start(): Cannot send session cookie – headers already sent by (output started at /home/kelvinco/public_html/restorenotwork/wp-includes/Requests/Transport/cURL.php:508) in /home/kelvinco/public_html/restorenotwork/wp-content/themes/rippledigital/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/kelvinco/public_html/restorenotwork/wp-includes/Requests/Transport/cURL.php:508) in /home/kelvinco/public_html/restorenotwork/wp-content/themes/rippledigital/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32

    Fatal error: Uncaught Error: Function name must be a string in /home/kelvinco/public_html/restorenotwork/wp-content/themes/rippledigital/framework/php/class-style-generator.php:123 Stack trace: #0 /home/kelvinco/public_html/restorenotwork/wp-includes/class-wp-hook.php(298): avia_style_generator->create_styles(”) #1 /home/kelvinco/public_html/restorenotwork/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/kelvinco/public_html/restorenotwork/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/kelvinco/public_html/restorenotwork/wp-includes/general-template.php(2574): do_action(‘wp_head’) #4 /home/kelvinco/public_html/restorenotwork/wp-content/themes/rippledigital/header.php(57): wp_head() #5 /home/kelvinco/public_html/restorenotwork/wp-includes/template.php(684): require_once(‘/home/kelvinco/…’) #6 /home/kelvinco/public_html/restorenotwork/wp-includes/template.php(643): load_template(‘/home/kelvinco/…’, true) #7 /home/kelvinco/public_html/restorenotwork/wp-includes/general-te in /home/kelvinco/public_html/restorenotwork/wp-content/themes/rippledigital/framework/php/class-style-generator.php on line 123

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter davemball

    (@davemball)

    Ok I’ve tried disabling the plugin by renaming the plugin folder under wp-content to plugin.deactive and I still can’t access the admin area but now the site is partially loading.

    see
    https://www.kelvincourt.scot/broken
    https://www.kelvincourt.scot/restorenotwork/

    if I try and access the wp-admin page I get the following error

    Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /home/kelvinco/public_html/restorenotwork/wp-includes/Requests/Transport/cURL.php on line 508

    Plugin Author Yani

    (@yaniiliev)

    Hi Dave,

    I think the error is not from the different WP versions but from different PHP versions between the hosting providers.
    What PHP version are you using on the two hostings?
    This might be something that siteground support can assist you with.

    Thread Starter davemball

    (@davemball)

    after much investigation, it appears the issue is due to the theme

    Plugin Author Yani

    (@yaniiliev)

    Yes, the theme is indeed what is generating the error but you need to find the cause.
    I think it is from the different PHP versions between the two hosting providers.
    For example one is using PHP 5.x and the other one is using PHP 7.x

    Thread Starter davemball

    (@davemball)

    changed php to 5.x and the theme still does not work seem the theme just does not work with WordPress 4.7.3

    Plugin Author Yani

    (@yaniiliev)

    Ah that’s pity. Have you tried to contact the theme author, maybe they can help with it?

    Thread Starter davemball

    (@davemball)

    After a bit or research turns out the original author had just re branded the enfold theme and used this as a parent theme for their own theme. After buying enfold and editing the child theme to use it managed to get the site back.

    Sometimes over 20 year system engineering experience pays off. ??

    Plugin Author Yani

    (@yaniiliev)

    Excellent. Glad to hear that you were able to fix it. I am sorry that you had to deal with all this. I will mark this thread as resolved.

    Hi! I’ve a similar problem when I create a new event in All in one event calendar
    Here is the error message :

    Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /home/medecine/public_html/wp_college/wp-includes/Requests/Transport/cURL.php on line 508″
    When I desactivate All in one event calendar ,the error message disapear
    Can you help me please ?
    Bests regards

    I’m sorry
    It’s not when All in one event calendar is desactived
    It’s when the plugin BackWP up is desactied that the error message disapear
    Oups!!
    Bests regards

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘errors after migration’ is closed to new replies.