• Hi,

    I have a problem on my site 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://ww.wp.xz.cn/plugins/insert-php/

Viewing 1 replies (of 1 total)
  • 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
    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.