Warning: Attempt to read property “ID” on int in onesignal-admin.php line 21
-
Warning: Attempt to read property "ID" on int in onesignal-admin.php on line 21
This is the line
wp_localize_script('notice_script', 'ajax_object', array('ajax_url' => admin_url('admin-ajax.php'), 'post_id' => $post->ID));
But in some cases,
$post
could be anint
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.