• Resolved arianfar

    (@arianfar)


    Hello everyone, especially those who work hard for WordPress
    When I activate the plugin and go to settings I get the following error

    There was a critical error on this website. Please check the site administrator’s inbox for instructions.

    I received the following email

    An error of type E_ERROR occurred on line 488 of file /home/site/public_html/wp-content/plugins/wpinfecscanlite/wpinfecscanlite.php. Error message: Uncaught Error: Call to undefined function set_time_limit() in /home/site/public_html/wp-content/plugins/wpinfecscanlite/wpinfecscanlite.php:488

    This is my site address: [ redundant link removed ]

    Stack trace:
    #0 /home/sonarweb/public_html/wp-includes/class-wp-hook.php(324): wpinfectlitescanner_pluginoptions(”)
    #1 /home/sonarweb/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    #2 /home/sonarweb/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home/sonarweb/public_html/wp-admin/admin.php(259): do_action(‘toplevel_page_w…’)
    #4 {main}
      thrown

    THANK YOU!

    • This topic was modified 5 months ago by arianfar.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Presumably your PHP settings include disable_functions = set_time_limit.

    I would appreciate it if you could enable the set_time_limit function in your PHP configuration!

    Thread Starter arianfar

    (@arianfar)

    Thank You!

    I tested it but it didn’t solve the problem
    The problem still persists

    Perhaps your server is unusual and set_time_limit() function is not available.
    In wpinfecscanlite/wpinfecscanlite.php, line 488, try adding @ before set_time_limit and it may work.
    It looks something like this
    @set_time_limit

    Thread Starter arianfar

    (@arianfar)

    i change it from set_time_limit(60*10); to @set_time_limit(60*10);

    not working!

    OK

    How about changing to //set_time_limit(60*10);

    set_time_limit(60*10); -> //set_time_limit(60*10);

    Please try it

    Thread Starter arianfar

    (@arianfar)

    Thanks for the support
    As soon as you released the new update, I update the plugin from Version 1.0.3 to Version 1.0.4 and the problem was solved.
    thank you

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