WordPress.org

Ready to get started?Download WordPress

Forums

Insert PHP
[resolved] Error SQL (3 posts)

  1. marcoelitec98
    Member
    Posted 4 months ago #

    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/

  2. WillBontrager
    Member
    Plugin Author

    Posted 4 months ago #

    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

  3. WillBontrager
    Member
    Plugin Author

    Posted 1 month ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.