WordPress.org

Forums

PHP Code for posts
php connect to external database error (2 posts)

  1. trailweb
    Member
    Posted 1 year ago #

    I am unable to execute the pg_connect command and receive the following error:
    Fatal error: Call to undefined function pg_connect() in /home/point4/public_html/wp-content/plugins/php-code-for-posts/PHPPostCode.php(58) : eval()'d code on line 6

    Any suggestions?

    Thanks!

    http://wordpress.org/plugins/php-code-for-posts/

  2. The.Missing.Code
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Trailweb,

    the error suggests the function has not been defined. try including the file the function exists in.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags