• Resolved hanavan

    (@hanavan)


    Hi
    I am a big fan of this plugin.
    But, The plugin is not working well after my website was moved in a new hosting server.

    The thing is,
    When I click ‘run now’ or ‘delete’ button on any task or routine, the redirect url is wrong like this, “https://xxx.com:80/wp-admin/admin.php?page=ts_task_list&task_scheduler_no…”
    The strange thing is ‘:80’

    Also when I try to delete a ‘routine’, then I’ve got a fatal error.
    The error log is below
    [Sun Sep 20 23:50:51.006803 2020] [proxy_fcgi:error] [pid 27861] [client 207.148.82.47:45340] AH01071: Got error ‘PHP message: PHP Recoverable fatal error: Object of class TaskScheduler_Event_Action_DeleteLogItems could not be converted to string in /home/474370.cloudwaysapps.com/khpwamwdce/public_html/wp-content/plugins/task-scheduler/include/class/event/action/TaskScheduler_Event_Action_DeleteLogItems.php on line 77’, referer: https://moashop.com.au/?doing_server_heartbeat=1600645848.944&context=spawn_routine&last_beat_time=1600645848.8846
    [Sun Sep 20 23:46:16.487898 2020] [proxy_fcgi:error] [pid 27676] [client 120.159.10.21:44884] AH01071: Got error ‘PHP message: PHP Recoverable fatal error: Object of class TaskScheduler_Event_Action_DeleteLogItems could not be converted to string in /home/474370.cloudwaysapps.com/khpwamwdce/public_html/wp-content/plugins/task-scheduler/include/class/event/action/TaskScheduler_Event_Action_DeleteLogItems.php on line 77’
    [Sun Sep 20 23:45:28.997142 2020] [proxy_fcgi:error] [pid 27661] [client 120.159.10.21:44838] AH01071: Got error ‘PHP message: PHP Recoverable fatal error: Object of class TaskScheduler_Event_Action_DeleteLogItems could not be converted to string in /home/474370.cloudwaysapps.com/khpwamwdce/public_html/wp-content/plugins/task-scheduler/include/class/event/action/TaskScheduler_Event_Action_DeleteLogItems.php on line 77’, referer: https://moashop.com.au/wp-admin/admin.php?page=ts_task_list&status=routine
    [Sun Sep 20 23:41:03.625774 2020] [proxy_fcgi:error] [pid 27486] [client 120.159.10.21:44466] AH01071: Got error ‘PHP message: PHP Recoverable fatal error: Object of class TaskScheduler_Event_Action_DeleteLogItems could not be converted to string in /home/474370.cloudwaysapps.com/khpwamwdce/public_html/wp-content/plugins/task-scheduler/include/class/event/action/TaskScheduler_Event_Action_DeleteLogItems.php on line 77’, referer: https://moashop.com.au/wp-admin/admin.php?page=ts_task_list&status=routine

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    Is the inserted port into the redirect url really 80? The used function to generate the URL omits the port part when it is 80 for http and 443 for https.

    Also I’d like to know your PHP version.

    Thread Starter hanavan

    (@hanavan)

    Hi

    Yep, I don’t know why the URL is like that(with :80) –> this is happened whenever I am click ‘run now’.

    Also, when I delete the existing ‘Routine’, the critical error has happened.

    My PHP version is 7.3.20

    I am using ‘force https redirection’ option.

    I already tried the reinstallation of the plugin, but the issues are also the same.

    Thanks for your support!

    Andy

    Plugin Author miunosoft

    (@miunosoft)

    Can you try the development version, 1.5.2b01.?

    It should fix your problems.

    Thread Starter hanavan

    (@hanavan)

    Hi miunosoft,

    Thanks for your support.

    The linked development version has been installed.

    But, the issue is still the same.

    I am using super simple email Task for the testing purpose, but still I have an error message with :80 url. (https://xxx.com.au:80/wp-admin/admin.php?page=ts_task_list&task_scheduler_nonce=cc7f3095b7)

    Plugin Author miunosoft

    (@miunosoft)

    Can you double check the plugin version? It should say 1.5.2b01.

    Thread Starter hanavan

    (@hanavan)

    Hi miunosoft,

    You can see the installed plugin version here

    When I mouse over the ‘Run now’ link, the link doesn’t have the :80, after submit, the redirection link has :80.

    As I mentioned above, this issue has happened after a server migration. (I hope this is a hint to resolve the issue)

    Plugin Author miunosoft

    (@miunosoft)

    Can you try v1.5.2b03?

    This time, the method to generate the current URL has changed. This might work for you.

    Thread Starter hanavan

    (@hanavan)

    Hi miunosoft,

    Yep, you are right, the v1.5.2b03 version is working perfectly!

    I really appreciate it.

    Cheers!

    Plugin Author miunosoft

    (@miunosoft)

    Great!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Pointing wrong url after running any task’ is closed to new replies.