• Resolved maherlink

    (@maherlink)


    Everything is great and this plugin helped me a lot , Thanks
    But there is one thing, something goes wrong when I delete the monitoring report

    `[21-Jul-2022 18:37:40 UTC] PHP Fatal error: Uncaught ValueError: Argument number specifier must be greater than zero and less than 2147483647 in /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/code/admin.php:1232
    Stack trace:
    #0 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/code/admin.php(1232): sprintf(‘Monitor %$1s de…’, ‘monitor’)
    #1 /home/pruluemy/public_html/wp-includes/class-wp-hook.php(307): ImfsPage->validation_imfs_settings_monitor_database_operations(Array, Array, Object(ImfsPage), Array)
    #2 /home/pruluemy/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array)
    #3 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility.php(306): apply_filters(‘validation_imfs…’, Array, Array, Object(ImfsPage), Array)
    #4 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__Filter.php(115): Imfs_AdminPageFramework_WPUtility_Hook::addAndApplyFilter(Object(ImfsPage), ‘validation_imfs…’, Array, Array, Object(ImfsPage), Array)
    #5 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__Filter.php(89): Imfs_AdminPageFramework_Model__FormSubmission__Validator__Filter->_getValidatedData(‘validation_imfs…’, Array, Array, Array)
    #6 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__Filter.php(28): Imfs_AdminPageFramework_Model__FormSubmission__Validator__Filter->_validateTabFields(Array)
    #7 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__Filter.php(23): Imfs_AdminPageFramework_Model__FormSubmission__Validator__Filter->_getFiltered(Array, Array, Array, Array)
    #8 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator.php(68): Imfs_AdminPageFramework_Model__FormSubmission__Validator__Filter->get()
    #9 /home/pruluemy/public_html/wp-includes/class-wp-hook.php(307): Imfs_AdminPageFramework_Model__FormSubmission__Validator->_replyToValidateUserFormInputs(Array, Array, Array, Object(ImfsPage))
    #10 /home/pruluemy/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array)
    #11 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility.php(306): apply_filters(‘validation_pre_…’, Array, Array, Array, Object(ImfsPage))
    #12 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility.php(289): Imfs_AdminPageFramework_WPUtility_Hook::addAndApplyFilter(Object(ImfsPage), ‘validation_pre_…’, Array, Array, Array, Object(ImfsPage))
    #13 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_model/delegate/AdminPageFramework_Model__FormSubmission.php(51): Imfs_AdminPageFramework_WPUtility_Hook::addAndApplyFilters(Object(ImfsPage), ‘validation_pre_…’, Array, Array, Array, Object(ImfsPage))
    #14 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_model/delegate/AdminPageFramework_Model__FormSubmission.php(32): Imfs_AdminPageFramework_Model__FormSubmission->_handleFormData()
    #15 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/AdminPageFramework.php(135): Imfs_AdminPageFramework_Model__FormSubmission->__construct(Object(ImfsPage), Array, Array, Array, Array)
    #16 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/base_utility/AdminPageFramework_Utility.php(668): Imfs_AdminPageFramework_Model_Form->_replyToHandleSubmittedFormData(Array, Array, Array, Array)
    #17 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/AdminPageFramework_Form.php(200): Imfs_AdminPageFramework_Utility->callBack(Array, Array)
    #18 /home/pruluemy/public_html/wp-includes/class-wp-hook.php(307): Imfs_AdminPageFramework_Form_Model->_replyToRegisterFormItems(Object(ImfsPage))
    #19 /home/pruluemy/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #20 /home/pruluemy/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #21 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility.php(277): do_action(‘load_after_Imfs…’, Object(ImfsPage))
    #22 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility.php(261): Imfs_AdminPageFramework_WPUtility_Hook::addAndDoAction(Object(ImfsPage), ‘load_after_Imfs…’, Object(ImfsPage))
    #23 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/AdminPageFramework.php(75): Imfs_AdminPageFramework_WPUtility_Hook::addAndDoActions(Object(ImfsPage), Array, Object(ImfsPage))
    #24 /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/AdminPageFramework.php(49): Imfs_AdminPageFramework_Router->_doPageLoadCall(‘load_pre_imfs_s…’, ‘imfs_settings’, ‘monitor_databas…’, Object(WP_Screen))
    #25 /home/pruluemy/public_html/wp-includes/class-wp-hook.php(307): Imfs_AdminPageFramework_Router->__call(‘load_pre_imfs_s…’, Array)
    #26 /home/pruluemy/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #27 /home/pruluemy/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #28 /home/pruluemy/public_html/wp-admin/includes/class-wp-screen.php(422): do_action(‘current_screen’, Object(WP_Screen))
    #29 /home/pruluemy/public_html/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen()
    #30 /home/pruluemy/public_html/wp-admin/admin.php(212): set_current_screen()
    #31 /home/pruluemy/public_html/wp-admin/tools.php(40): require_once(‘/home/pruluemy/…’)
    #32 {main}
    thrown in /home/pruluemy/public_html/wp-content/plugins/index-wp-mysql-for-speed/code/admin.php on line 1232`

    Despite this error, when I go back to the tools page I find the report has been cleared

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter maherlink

    (@maherlink)

    Additional Information
    PHP 8.1.8
    Mysql 5.7.38
    wordpress 6.0.1

    • This reply was modified 2 years, 4 months ago by maherlink.
    Thread Starter maherlink

    (@maherlink)

    Note : My wordpress is in Arabic ar
    Thanks again for this great plugin

    • This reply was modified 2 years, 4 months ago by maherlink.
    Plugin Author OllieJones

    (@olliejones)

    You found a bug! Thanks for taking the trouble to report it. It will be fixed in the next version coming soon.

    I can confirm that no harm was done to your site by this bug: it only relates to acknowledging the action you took to delete that monitor.

    Thanks again. Salaam alaikum!

    • This reply was modified 2 years, 4 months ago by OllieJones.
    Thread Starter maherlink

    (@maherlink)

    Thank you for your response. We are waiting for the new version

    Plugin Author OllieJones

    (@olliejones)

    It just went live.

    Thread Starter maherlink

    (@maherlink)

    [Thu Jul 21 12:37:39.848291 2022] [:error] [pid 9610:tid 47850207807232] [client 162.158.129.117:0] [client 162.158.129.117] ModSecurity: Warning. Match of “pmFromFile path_excludes” against “REQUEST_FILENAME” required. [file “/etc/apache2/conf.d/modsec_vendor_configs/imunify360-full-apache/006_i360_4_custom.conf”] [line “264”] [id “77140992”] [msg “IM360 WAF: Suspicious access attempt (WP folders)!||SC:/home/……/public_html/wp-admin/tools.php||T:APACHE||REQUEST_URI:/wp-admin/tools.php?page=imfs_settings&tab=monitor_database_operations||”] [severity “NOTICE”] [tag “service_i360custom”] [tag “noshow”] [hostname “………..net”] [uri “/wp-admin/tools.php”] [unique_id “Ytmc8zdeqE8g7mPWl8W5WgAAANI”], referer: https://akhbarlibya24.net/wp-admin/tools.php?page=imfs_settings&tab=monitor_database_operations
    [Thu Jul 21 12:17:53.411168 2022] [:error] [pid 25618:tid 47850218313472] [client 162.158.129.121:0] [client

    • This reply was modified 2 years, 4 months ago by maherlink.
    Thread Starter maherlink

    (@maherlink)

    Great ! The new version works with no error .
    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal error when deleting monitoring report’ is closed to new replies.