Hello,
I am having an issue with the download manager plugin since I updated to PHP 7.2.
The error is: PHP Warning: A non-numeric value encountered in /home/customcontent/public_html/wp-content/plugins/download-manager/wpdm-functions.php on line 1100.
The code on the line in questions is:
function wpdm_view_countplus(){
if(isset($_REQUEST[‘_nonce’])&&wp_verify_nonce($_REQUEST[‘_nonce’],”__wpdm_view_count”)){
$id = intval($_REQUEST[‘id’]);
$views = get_post_meta($id, ‘__wpdm_view_count’, true);
update_post_meta($id, ‘__wpdm_view_count’, $views+1);
echo $views+1;
die();
Incidentally there is an error on a page just published that I believe is related to this: https://customcontentonline.com/download/providing-access-to-high-quality-healthcare-for-the-underserved/
Thanks in advance for your help!