• Resolved devworlds

    (@devworlds)


    Hi,

    I’m getting issue with wp admin-ajax.php too many request from action name — dokan_pageview

    I’m using shared hosting and getting 404 error because off their limitation.

    I have already installed and deactivate WooCommerce fragments cart.

    But still noticing this from dokan can you please help me to reduce it.

    ** I’m using wp-rocket for minify.

    Thank you

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    HI @devworlds,

    If you want to remove the scripts related to dokan_pageview, the pageview feature will no longer work on your site. If you want to proceed with that, please try adding the below-mentioned code to your child theme’s functions.php or use a code snippet plugin like this one.

    remove_action( 'wp_ajax_dokan_pageview', dokan()->pageview->update_ajax() );

    remove_action( 'wp_ajax_nopriv_dokan_pageview', dokan()->pageview->update_ajax() );

    I hope it helps. Thanks!

    Thread Starter devworlds

    (@devworlds)

    Hi,

    After i add this getting critical error on site.

    thank you

    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi there,

    I am really sorry to hear that. Please try the below-mentioned code.

    add_action( 'init', function () {
        remove_action( 'wp_ajax_dokan_pageview', dokan()->pageview->update_ajax() );
        remove_action( 'wp_ajax_nopriv_dokan_pageview', dokan()->pageview->update_ajax() );
    }, 99 );
    Thread Starter devworlds

    (@devworlds)

    Hi,

    Sorry still not fix.

    after i applied this code. showing -1 on browser window.

    here is snapshot– https://imgur.com/nuLGEpN

    thank you

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @devworlds

    We apologize for the inconvenience you’re experiencing, and we regret that the provided solution did not yield the expected results.

    At this point, it seems that resolving your issue may require more in-depth and customized assistance. Unfortunately, we currently do not have an alternative solution readily available.

    To address your specific requirements, we recommend consulting with a WordPress customization expert or developer. They can provide tailored assistance and implement a solution that aligns with your needs.

    We appreciate your understanding and patience.

    Thanks!

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @devworlds

    As we haven’t heard back from you for a while, we’ll consider this topic resolved. If you encounter any further issues, please don’t hesitate to open a new topic.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Wp admin ajax Problem’ is closed to new replies.