• Resolved ryblug

    (@ryblug)


    After installing plugin and clicking “Start Profiling” I get error:

    Cannot create the report: the profiler did not generate a data file (calls). You may find more details about this error in the “Log” tab or your PHP error log.

    Here is log from support tab:

    Array
    (
    [sysinfo] => Array
    (
    [OS] => Linux 3-229-79-224.cprapid.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
    [HTTP server] => Apache
    [PHP] => CGI-FCGI 8.3.10
    [Opcode cache] => Zend OPcache (enabled)
    [Memory limit] => 6000M
    [Peak limit] => 40,228,680
    [Max execution time] => 3000s
    [Disabled functions] => show_source, system, shell_exec, passthru, exec, popen, proc_open
    [Display errors] =>
    [Temp directory] =>
    [Log errors] => 1
    [Error log] => error_log (6,452,880 bytes)
    [Last error] => Array
    (
    [type] => 8192
    [message] => Implicit conversion from float 11.5 to int loses precision
    [file] => wp-includes/class-wp-hook.php
    [line] => 87
    )

            [WordPress] => Array
                (
                    [WP_MEMORY_LIMIT] => 6000M
                    [WP_MAX_MEMORY_LIMIT] => 3000M
                    [version] => 6.6.2
                    [WP_DEBUG] => 
                    [WP_DEBUG_LOG] => 
                )
    
        )
    
    [admin-ajax] => Array
        (
            [access] => Error: 404 Not Found
        )
    
    [code-profiler] => Array
        (
            [slug] => code-profiler
            [version] => 1.7.1
            [data_dir] => Array
                (
                    [path] => wp-content/uploads/code-profiler
                    [exists] => 1
                    [writable] => 1
                )
    
            [function] => Array
                (
                    [shutdown] => 1
                    [tick] => 1
                    [unregister] => 1
                    [register] => 1
                    [restore] => 1
                    [hrtime] => 1
                )
    
            [method] => Array
                (
                    [tokenize] => 1
                )
    
        )
    
    [wpdb] => Array
        (
            [wp-content/db.php] => 
        )
    
    [cache] => Array
        (
        )
    
    [proxy] => Array
        (
        )
    
    [plugins] => Array
        (
            [active] => Array
                (
                    [advanced-access-manager] => Advanced Access Manager - 6.9.39 - N/A
                    [advanced-custom-fields-pro] => Advanced Custom Fields PRO - 6.3.6 - https://www.advancedcustomfields.com
                    [advanced-woo-search] => Advanced Woo Search - 3.16 - N/A
                    [autoptimize] => Autoptimize - 3.1.12 - https://autoptimize.com/pro/
                    [backwpup] => BackWPup - 4.1.4 - https://backwpup.com/
                    [better-search-replace] => Better Search Replace - 1.4.7 - https://bettersearchreplace.com
                    [code-profiler] => Code Profiler - 1.7.1 - https://nintechnet.com/codeprofiler/
                    [custom-post-type-ui] => Custom Post Type UI - 1.17.1 - https://github.com/WebDevStudios/custom-post-type-ui/
                    [font-awesome] => Font Awesome - 4.5.0 - https://fontawesome.com/how-to-use/on-the-web/using-with/wordpress
                    [ga-code-visibility] => GA Code Visibility - 0.4 - N/A
                    [login-recaptcha] => Login No Captcha reCAPTCHA (Google) - 1.7.3 - https://www.ads-software.com/plugins/login-recaptcha/
                    [gf-form-multicolumn] => Multiple Columns for Gravity Forms - 4.0.6 - https://www.ads-software.com/plugins/gf-form-multicolumn/
                    [ninja-forms] => Ninja Forms - 3.8.16 - https://ninjaforms.com/?utm_source=WordPress&utm_medium=readme
                    [ninja-forms-addon-manager] => Ninja Forms - Addon Manager - 3.0.13 - N/A
                    [ninja-forms-conditionals] => Ninja Forms - Conditional Logic - 3.1 - https://ninjaforms.com/extensions/conditional-logic/
                    [ninja-forms-style] => Ninja Forms - Layout & Styles - 3.0.29 - https://ninjaforms.com/extensions/layout-styles/
                    [ninja-forms-user-analytics] => Ninja Forms - User Analytics - 3.0.3 - https://ninjaforms.com/extensions/user-analytics/
                    [ninja-forms-zapier] => Ninja Forms - Zapier - 3.0.9 - https://ninjaforms.com/downloads/zapier
                    [permalink-manager-pro] => Permalink Manager Pro - 2.4.4.1 - https://permalinkmanager.pro?utm_source=plugin
                    [redirection] => Redirection - 5.5.0 - https://redirection.me/
                    [wp-simple-firewall] => Shield Security - 19.1.13 - https://shsec.io/2f
                    [tiny-compress-images] => TinyPNG - JPEG, PNG & WebP image compression - 3.4.4 - N/A
                    [woocommerce] => WooCommerce - 9.3.3 - https://woocommerce.com/
                    [woocommerce-legacy-rest-api] => WooCommerce Legacy REST API - 1.0.4 - https://github.com/woocommerce/woocommerce-legacy-rest-api
                    [woocommerce-login-popup-and-shortcodes] => WooCommerce Login Popup and Shortcodes - 1.0.2 - https://www.ads-software.com/plugins/woocommerce-login-popup-and-shortcodes/
                    [wp-optimize] => WP-Optimize - Clean, Compress, Cache - 3.6.0 - https://getwpo.com
                    [wp-login-form] => WP Login Form - 1.0.13 - https://noorsplugin.com/wordpress-login-form-plugin/
                    [wp-mail-smtp-pro] => WP Mail SMTP Pro - 4.1.1 - https://wpmailsmtp.com/
                    [wp-rollback] => WP Rollback - 2.0.7 - https://wprollback.com/
                    [duplicate-post] => Yoast Duplicate Post - 4.5 - https://yoast.com/wordpress/plugins/duplicate-post/
                    [wordpress-seo] => Yoast SEO - 23.5 - https://yoa.st/1uj
                )
    
            [inactive] => Array
                (
                    [advanced-custom-fields] => Advanced Custom Fields - 6.3.6 - https://www.advancedcustomfields.com
                    [tinymce-advanced] => Advanced Editor Tools - 5.9.2 - https://www.ads-software.com/plugins/tinymce-advanced/
                    [all-in-one-wp-migration] => All-in-One WP Migration - 7.86 - https://servmask.com/
                    [all-in-one-wp-migration-multisite-extension] => All-in-One WP Migration Multisite Extension - 4.39 - https://servmask.com/
                    [anual-archive] => Annual Archive - 1.6.0 - https://pluginoven.com/plugins/annual-archive/
                    [caldera-forms-conversion-tool] => Caldera Forms Conversion Tool - 1.0.0 - N/A
                    [classic-editor] => Classic Editor - 1.6.5 - https://www.ads-software.com/plugins/classic-editor/
                    [classic-widgets] => Classic Widgets - 0.3 - https://www.ads-software.com/plugins/classic-widgets/
                    [contact-form-7] => Contact Form 7 - 5.9.8 - https://contactform7.com/
                    [cookie-law-info] => CookieYes | GDPR Cookie Consent - 3.2.6 - https://www.cookieyes.com/
                    [header-footer-elementor] => Elementor Header & Footer Builder - 1.6.42 - https://github.com/Nikschavan/header-footer-elementor
                    [enable-media-replace] => Enable Media Replace - 4.1.5 - https://www.ads-software.com/plugins/enable-media-replace/
                    [gravityforms] => Gravity Forms - 2.7.8 - https://gravityforms.com
                    [gsheetconnector-ninja-forms] => Ninja Forms GSheetConnector - 1.2.19 - N/A
                    [permalink-manager] => Permalink Manager Lite - 2.4.4.1 - https://permalinkmanager.pro?utm_source=plugin
                    [plugin-compatibility-checker] => Plugin Compatibility Checker - 3.0.1 - N/A
                    [premium-addons-for-elementor] => Premium Addons for Elementor - 4.10.53 - https://premiumaddons.com
                    [prdctfltr] => Product Filter for WooCommerce - 7.2.5 - https://xforwoocommerce.com
                    [better-wp-security] => Solid Security Basic - 9.3.3 - https://solidwp.com/products/security
                    [swap-google-font-display] => Swap Google Fonts Display - 1.1.1 - https://www.ads-software.com/plugins/swap-google-font-display/
                    [unicon-core] => Unicon Core - 1.4 - https://themeforest.net/user/minti
                    [unicon_portfolio_cpt] => Unicon Portfolio CPT - 1.2 - https://themeforest.net/user/minti
                    [unicon-widgets] => Unicon Widgets - 1.0 - https://themeforest.net/user/minti
                    [wp-mail-smtp] => WP Mail SMTP - 4.1.1 - https://wpmailsmtp.com/
                )
    
            [mu-plugins] => Array
                (
                    [0----code-profiler.php] => Code Profiler (mu-plugin) - 1.0 - https://nintechnet.com/codeprofiler/
                )
    
        )
    
    [themes] => Array
        (
            [inactive] => Array
                (
                    [generatepress-child] => generatepress child - N/A
                    [twentytwentyfour] => Twenty Twenty-Four - 1.2
                    [twentytwentythree] => Twenty Twenty-Three - 1.5
                    [twentytwentytwo] => Twenty Twenty-Two - 1.8
                )
    
            [active] => Array
                (
                    [generatepress] => GeneratePress - 3.5.1
                )
    
        )
    
    [options] => Array
        (
            [hide_empty_value] => 1
            [warn_composer] => 1
            [enable_wpcli] => 1
            [disable_wpcron] => 1
            [http_response] => ^(?:3|4|5)\d{2}$
            [accuracy] => 1
            [buffer] => 10
            [exclusions] => 0
        )

    )

    and here is Log:

    29-Sep-24 20:16:47 DEBUG Entering AJAX endpoint (profiler initialization)
    29-Sep-24 20:16:47 DEBUG Verifying security nonce
    29-Sep-24 20:16:47 DEBUG Checking MU plugin availability
    29-Sep-24 20:16:47 DEBUG Cleaning up the temporary folder
    29-Sep-24 20:16:47 DEBUG Retrieving parameters #2
    29-Sep-24 20:16:47 DEBUG Retrieving parameters #3
    29-Sep-24 20:16:47 DEBUG Retrieving parameters #4
    29-Sep-24 20:16:47 INFO Initializing Code Profiler v1.7.1 on https://werlatone.com. Profile: 2024-09-29_641003 - https://werlatone.com/
    29-Sep-24 20:16:47 DEBUG Retrieving parameters #5
    29-Sep-24 20:16:47 DEBUG Creating security key
    29-Sep-24 20:16:47 DEBUG Building HTTP query
    29-Sep-24 20:16:47 DEBUG Checking HTTP options
    29-Sep-24 20:16:47 DEBUG Clearing opcode cache
    29-Sep-24 20:16:47 DEBUG Sending HTTP request
    29-Sep-24 20:16:47 DEBUG Fetching HTTP response
    29-Sep-24 20:16:47 DEBUG Decoding body
    29-Sep-24 20:16:47 INFO Collecting data to analyze
    29-Sep-24 20:16:47 DEBUG Leaving AJAX endpoint
    29-Sep-24 20:16:50 DEBUG Entering AJAX endpoint (report preparation)
    29-Sep-24 20:16:50 DEBUG Verifying security nonce
    29-Sep-24 20:16:50 DEBUG Retrieving profile ID
    29-Sep-24 20:16:50 DEBUG Retrieving profile name
    29-Sep-24 20:16:50 INFO Preparing the report
    29-Sep-24 20:16:50 ERROR Cannot create the report: the profiler did not generate a data file (calls). You may find more details about this error in the "Log" tab or your PHP error log.
Viewing 1 replies (of 1 total)
  • Plugin Author nintechnet

    (@nintechnet)

    I noticed this error in the report:

    [admin-ajax] => Array
        (
            [access] => Error: 404 Not Found
        )
    

    When attempting to access the wp-admin/admin-ajax.php endpoint, it returned 404 Not found. Do you know why?

    Also your PHP error log seems quite large:
    [Error log] => error_log (6,452,880 bytes)
    Can you check it? Maybe it has more details about the error.

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