Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @abhay007,

    Looks like you have an older version of WordPress because wp_scripts() was introduced in WordPress 4.2.0. Before I will update the plugin to maintain backward compatibility… you should replace:

    $wp_scripts = wp_scripts();

    with:

    global $wp_scripts;

    Files:
    – plugins\WP-Maintenance-Mode\includes\classes\wp-maintenance-mode.php
    – plugins\WP-Maintenance-Mode\includes\classes\wp-maintenance-mode-admin.php

    Thanks.

    Version 2.0.8 was released and the bug was solved. Thanks!

    • This reply was modified 8 years, 6 months ago by George J.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘not working getting error Fatal error: Call to undefined function wp_scripts()’ is closed to new replies.