Support » Plugin: Insert PHP » Error SQL

  • Resolved marcoelitec98

    (@marcoelitec98)


    After the update i’ve this error

    Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\Hedery\wp-content\plugins\insert-php\insert_php.php(48) : eval()’d code on line 67
    Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\Hedery\wp-content\plugins\insert-php\insert_php.php(48) : eval()’d code on line 68

    Why? How resolve it?

    https://wordpress.org/plugins/insert-php/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WillBontrager

    (@willbontrager)

    Put what you now have between the [insert_php] and [/insert_php] into a separate file, but between <?php and ?> tags.

    Upload the file to your server and load it into your browser.

    Fix the errors that occur on that page.

    When it runs OK in your separate PHP file, then it should also run OK with Insert PHP.

    More information here:

    http://www.willmaster.com/software/WPplugins/insert-php-wordpress-plugin-instructions.php

    Especially see the “Code Between Tags Must be Complete” and “Dealing with Error Messages” sections.

    Will

    Plugin Author WillBontrager

    (@willbontrager)

    Because there has been no response, I’m assuming the original poster resolved the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error SQL’ is closed to new replies.