Title: php problem
Last modified: August 31, 2016

---

# php problem

 *  [formula_adv](https://wordpress.org/support/users/formula_adv/)
 * (@formula_adv)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-problem-11/)
 * Hi,
 * I have a problem on my site [http://laprealpina.net](http://laprealpina.net).
 * The wordpress version when we created the site was 4.3.1 and the plugin insert
   php 1.2 and everything worked just fine.
 * We have updated the wordpress version to 4.4 and the plugin version to 1.3.
 * Now the purchase guide doesn’t work anymore and now this error occurses:
 * Notice: Undefined index: marca in /home/laprealpi/public_html/wp-content/plugins/
   insert-php/insert_php.php(48) : eval()’d code on line 29
 * Notice: Undefined index: modello in /home/laprealpi/public_html/wp-content/plugins/
   insert-php/insert_php.php(48) : eval()’d code on line 30
 * Notice: Undefined index: prodotto in /home/laprealpi/public_html/wp-content/plugins/
   insert-php/insert_php.php(48) : eval()’d code on line 31
 * How can we solve this problem ?
 * Thanks in advance
 * [https://wordpress.org/plugins/insert-php/](https://wordpress.org/plugins/insert-php/)

Viewing 1 replies (of 1 total)

 *  [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * (@willbontrager)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-problem-11/#post-6921586)
 * Note: WP forum thinks it knows best and changes the Insert PHP begin and end 
   tags into links when used in this response, removing the square brackets in the
   process, even when bounded with backticks. Damn annoying.
 * Therefore, wherever you see AAA is where the Insert PHP boundary marker begin
   tag would be and ZZZ is where the Insert PHP boundary marker end tag would be.
 * At lines 29, 30, and 31 of the code between the AAA and ZZZ boundary markers 
   contains references to index keys that aren’t defined.
 * Suggest putting the code into a separate test.php page with `<?php` and `?>` 
   instead of AAA and ZZZ, uploading test.php into the document root directory, 
   and running it in your browser.
 * Fix errors it spawns, if any.
 * When that code runs OK, put it back into the WP post or page between AAA and 
   ZZZ, without the `<?php` and `?>` of course.
 * If you still have the issue, this section of the instructions page
    [http://www.willmaster.com/software/WPplugins/insert-php-wordpress-plugin-instructions.php#functionscope](http://www.willmaster.com/software/WPplugins/insert-php-wordpress-plugin-instructions.php#functionscope)
   and the section following it on the same page may provide clues.
 * Will

Viewing 1 replies (of 1 total)

The topic ‘php problem’ is closed to new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3523853)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/php-problem-11/#post-6921586)
 * Status: not resolved