Title: PHP Notices
Last modified: August 30, 2016

---

# PHP Notices

 *  [Kreeger](https://wordpress.org/support/users/kreeger/)
 * (@kreeger)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-notices-54/)
 * Hello,
 * Could you fix the PHP notices caused by this great plugin?
 * I have these notices on every pages in the admin. And no, I can not disable the
   notices during my developments ;(
 * Thanks you
 * Notice: Undefined index: dn in /var/www/vhosts/nanocyl.com/httpdocs/wordpress/
   wp-content/plugins/multi-plugin-installer/mpi-admin.php on line 18
 * Notice: Undefined index: dl in /var/www/vhosts/nanocyl.com/httpdocs/wordpress/
   wp-content/plugins/multi-plugin-installer/mpi-admin.php on line 25
 * [https://wordpress.org/plugins/multi-plugin-installer/](https://wordpress.org/plugins/multi-plugin-installer/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Kreeger](https://wordpress.org/support/users/kreeger/)
 * (@kreeger)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/php-notices-54/#post-6670051)
 * 2 weeks… Up…?
 *  [tristanleboss](https://wordpress.org/support/users/tristanleboss/)
 * (@tristanleboss)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-notices-54/#post-6670081)
 * Tanai,
 * That would be cool if you could fix those notices.
 * Here is the corrected code:
 *     ```
       function mpi_download_backup()
       {
       	if( isset($_GET['dn']) )
       	{
       		$download_flag = $_GET['dn'];
       		$download_flag = trim($download_flag);
   
       		if( $download_flag == 1 )
       		{
       			$mpiObj = new mpinstaller();
       			$mpiObj->mpi_download();
       		}
       	}
       }
   
       function mpi_delete_backup()
       {
       	if( isset($_GET['dl']) )
       	{
       		$delete_flag = $_GET['dl'];
       		$delete_flag = trim($delete_flag);
   
       		if( $delete_flag == 1 )
       		{
       			$mpiObj = new mpinstaller();
       			$mpiObj->mpi_delete();
       		}
       	}
       }
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Notices’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multi-plugin-installer_6ab1d4.svg)
 * [Multi Plugin Installer](https://wordpress.org/plugins/multi-plugin-installer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multi-plugin-installer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multi-plugin-installer/)
 * [Active Topics](https://wordpress.org/support/plugin/multi-plugin-installer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multi-plugin-installer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multi-plugin-installer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tristanleboss](https://wordpress.org/support/users/tristanleboss/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/php-notices-54/#post-6670081)
 * Status: not resolved