Hi,
Please try,
1. File:
XXX/wp-content/plugins/advanced-classifieds-and-directory-pro/public/public.php
Line 89:
Replace:
if ( 'POST' == $_SERVER['REQUEST_METHOD'] ) {
With:
if ( isset($_SERVER['REQUEST_METHOD']) && 'POST' == $_SERVER['REQUEST_METHOD'] ) {
2. File:
XXX/wp-content/plugins/advanced-classifieds-and-directory-pro/public/user.php
Line 44:
if ( 'POST' == $_SERVER['REQUEST_METHOD'] && isset( $_POST['acadp_listing_nonce'] ) && wp_verify_nonce( $_POST['acadp_listing_nonce'], 'acadp_save_listing' ) ) {
With:
if ( isset($_SERVER['REQUEST_METHOD']) && 'POST' == $_SERVER['REQUEST_METHOD'] && isset( $_POST['acadp_listing_nonce'] ) && wp_verify_nonce( $_POST['acadp_listing_nonce'], 'acadp_save_listing' ) ) {
Thanks
Thread Starter
leogc
(@leogc)
Hi @dhileepan that helps, so please make sure that you add this into the next Update of the Plug in thanks!
Thread Starter
leogc
(@leogc)
Just to inform, with the last Update this Code has been overwritten and the PHP Warning in Cronjob i back, i was thinking that this will be fixed in the next Update but instead of fixing it, i have my fix now deleted…
Thread Starter
leogc
(@leogc)
You have done so many updates since we found this issue and swith each UPdate you have not fixed this. We always need to fix it by our hand again and again after an update was released…
You shoud consider this error in the next update for sure!
Please check and read @dhileepan
Thread Starter
leogc
(@leogc)
Just to inform, with the last Update this Code has been overwritten and the PHP Warning in Cronjob is back again, i was thinking that this will be fixed in the next Update but instead of fixing it, it have my fix now deleted…
Would be great if you check for this problem to avoid this in future (since a couple of Month…)
@dhileepan @pluginsware @freemius