• Resolved christiane100

    (@christiane100)


    I am updating my WP core and plugins on a local staging site.
    The site i need to update was not updated regularly and I therefore have an old configuration of WP (5.1.8), Apache (2.2), PHP (5.3.13) and many plugins will also require updates. Therefore I will proceed in steps.
    I Will only discuss here the update of a plug-in which broke my staging site.

    Configuration tested:
    MetaSlider : 3.24.0 (updated from 3.10.2)
    WordPress core: 5.1.12
    Apache: 2.2
    PHP: 5.3.13`
    Step 1:

    Successfully updated core WP 5.1.8 -> 5.1.12
    Successfully activated and updated plug-in MetaSLider 3.10.2 -> 3.24.0 from back-end
    However Front end AND back end broken after update of plug in.
    Errors displayed in browser are also saved in apache log file:

    [Mon Jan 10 12:26:58 2022] [error] [client ::1] PHP Parse error: syntax error, unexpected ‘[‘ in C:\\wamp\\www\\WordpressStep1\\wp-content\\plugins\\ml-slider\\admin\\lib\\extendify-notice.php on line 8
    [Mon Jan 10 12:26:58 2022] [error] [client ::1] PHP Stack trace:
    [Mon Jan 10 12:26:58 2022] [error] [client ::1] PHP 1. {main}() C:\\wamp\\www\\WordpressStep1\\index.php:0
    [Mon Jan 10 12:26:58 2022] [error] [client ::1] PHP 2. require() C:\\wamp\\www\\WordpressStep1\\index.php:17
    [Mon Jan 10 12:26:58 2022] [error] [client ::1] PHP 3. require_once() C:\\wamp\\www\\WordpressStep1\\wp-blog-header.php:13
    [Mon Jan 10 12:26:58 2022] [error] [client ::1] PHP 4. require_once() C:\\wamp\\www\\WordpressStep1\\wp-load.php:37
    [Mon Jan 10 12:26:58 2022] [error] [client ::1] PHP 5. require_once() C:\\wamp\\www\\WordpressStep1\\wp-config.php:72
    [Mon Jan 10 12:26:58 2022] [error] [client ::1] PHP 6. do_action() C:\\wamp\\www\\WordpressStep1\\wp-settings.php:374
    [Mon Jan 10 12:26:58 2022] [error] [client ::1] PHP 7. WP_Hook->do_action() C:\\wamp\\www\\WordpressStep1\\wp-includes\\plugin.php:465
    [Mon Jan 10 12:26:58 2022] [error] [client ::1] PHP 8. WP_Hook->apply_filters() C:\\wamp\\www\\WordpressStep1\\wp-includes\\class-wp-hook.php:310
    [Mon Jan 10 12:26:58 2022] [error] [client ::1] PHP 9. call_user_func_array() C:\\wamp\\www\\WordpressStep1\\wp-includes\\class-wp-hook.php:286
    [Mon Jan 10 12:26:58 2022] [error] [client ::1] PHP 10. MetaSliderPlugin->setup() C:\\wamp\\www\\WordpressStep1\\wp-includes\\class-wp-hook.php:286`

    Can I fix this by delete the meta slider sub dir in the plug-in map of wp-Content? and update the database manually, or is that a bad idea? What would you recommend? I no longer can access wp-admin.

    • This topic was modified 2 years, 3 months ago by christiane100. Reason: try to upload the file giving error but cannot see attachment button on form

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • lisa

    (@contentiskey)

    temporarily rename the folder containing MetaSlider in your file manager area or ftp client tool.
    renaming a plugin’s folder will deactivate the plugin
    if the plugin is the source of the problem, then you should be able to login to WP-Admin for further troubleshooting and investigating.

    • This reply was modified 2 years, 3 months ago by lisa.

    Hi

    The error is related to the code using syntax from PHP 5.4 so if you upgrade your PHP version then MetaSlider will function. I will patch that file though to use the older syntax. Thanks for reporting.

    You’re also ok to delete the MetaSlider (ml-slider) as we don’t do anything destructive. You can just reinstall it after u update your PHP version.

    Thread Starter christiane100

    (@christiane100)

    @Kbatdorf: Your instructions have solved my problems indeed. Thanks a lot.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Update of MetaSlider broke site’ is closed to new replies.