Fail to add new PDF in version 3.1.2
-
We updated the BSK PDF Manager from 3.0.1 to 3.1.2 (free version)
However, the end-user fails to upload new PDF.It seems
– your free version does not have thumbnail_id inside the table – bsk_pdf_manager_pdfs
– In the version 3.1.2, classes/dashboard/pdf.php (line 874) , it tries to insert the thumbnail_id into the table, and causes fail to insert into the database$pdf_data['thumbnail_id'] = 0; $pdf_data_format['thumbnail_id'] = '%d'; if ( isset( $data['bsk_pdf_manager_thumbnail_id'] ) ){ $pdf_data['thumbnail_id'] = intval( sanitize_text_field($data['bsk_pdf_manager_thumbnail_id']) ); }
Please help/advise.
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fail to add new PDF in version 3.1.2’ is closed to new replies.