Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By johnm

Thread: Update line:365 .../includes/forms-projects.php

  1. #1
    Thread Starter
    Expired Customer johnm's Avatar
    Join Date
    Jun 2016
    Posts
    4
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Update line:365 .../includes/forms-projects.php

    Line 365 of /includes/forms-projects.php includes the following:

    Code:
    require ABSPATH . '/wp-admin/includes/post.php';
    which could be changed to:

    Code:
    require_once( ABSPATH . '/wp-admin/includes/post.php');
    includes/post.php is a commonly included file by many plugins and using require_once can help to prevent previously declared errors/clashes from occurring with other plugins.

    Regards...John.
    dimitris likes this.

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. update failed - Call function /vantage/framework/includes/open-graph.php on line 131
    By tradeamillion in forum Help Using Vantage (Legacy)
    Replies: 7
    Last Post: July 28th, 2014, 07:22 AM
  2. classipress/includes/sidebar-popular.php on line 31 and defined in
    By portopartner in forum WordPress General Discussion
    Replies: 1
    Last Post: December 20th, 2012, 07:59 PM
  3. What is this error? vantage/includes/controllers.php on line 699
    By TheSyndicate in forum Report Vantage Bugs (Legacy)
    Replies: 2
    Last Post: July 20th, 2012, 12:51 PM