Plugin Author
Arnan
(@adegans)
Which version of AdRotate do you use?
Plugin Author
Arnan
(@adegans)
Which version are you using? Many people say Latest for a 3 year old version…
@arnan,
I see the error too. It shows “Unexpected error” when I delete or activate/deactivate banners.
AdRotate 3.14 free.
WordPress 4.3.1
Regards, Talgat
@arnan,
It’s the full error. Only this message “Unexpected error”.
I know why it’s happening. The address bar contains param status with a value equal a banner ID instead of an action ID.
You have a mistake in adrotate_request_action function. You assign banner_id to result_id instead of status id. Then you call adrotate_return function with a wrong result_id, etc… As a result adrotate_status function get wrong $status.
Regards, Talgat
Plugin Author
Arnan
(@adegans)
Hmm, I’ll look into that and make changes where required. Thanks 🙂