Issue Calling API and inserting records into DB
-
Hi,
I have installed and activated the plugin “WP Control”. And I have also added my PHP code into php cron event Tab.
The Problem I am facing that when I run the code on my local server and execute the cron script from plugin it works perfect. But When I try to do same from my Client’s server The API call fails without giving any error. For testing I have added the mail function into the cron script and I am getting mails on both servers. But API code and the wp_insert_user function in the Script not working on my clients server, but working fine on my local server.
Even if I try to hit the script manually using the link it works fine. Its just not working when the script is executed via CRON TAB.
Please help.
Thanks
The topic ‘Issue Calling API and inserting records into DB’ is closed to new replies.