Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: URGENT custom-post-type-helper.php causing Internal Server Error

  1. #1
    Thread Starter
    Forum Member margas's Avatar
    Join Date
    Oct 2012
    Location
    Australia
    Posts
    40
    Thanks
    1
    Thanked 2 Times in 2 Posts

    URGENT custom-post-type-helper.php causing Internal Server Error

    Hello,
    I went to log in to my wp-admin this morning to find I'm getting a 500 server error. The front end of the website is fine but wp-admin won't load.
    I set "define('WP_DEBUG',true);" to find out what's causing the problem and found these 2 errors.


    Notice: Use of undefined constant is_admin - assumed 'is_admin' in /home/aupa/public_html/wp-content/plugins/5sec-google-maps/5sec-gmaps.php on line 22
    The corresponding line in the 5sec google maps plugin is "if(is_admin) {"
    PHP Code:
      public function init() {
        if(
    is_admin) {
          
    add_filter('plugin_row_meta', array(__CLASS__'plugin_meta_links'), 102);
        } 
    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 313684 bytes) in /home/aupa/public_html/wp-content/themes/vantage/includes/custom-post-type-helper.php on line 128
    The corresponding line in custom post type helper is
    PHP Code:
        require_once ABSPATH '/wp-admin/includes/template.php'
    Both of these files have not been edited. They are both the latest versions and were both working fine last night. I've tried using the latest dev and also 1.2 but having the same problem with both.

    Really hoping somebody has some help as a matter of urgency.

    Many thanks,
    Daniel

  2. #2
    Thread Starter
    Forum Member margas's Avatar
    Join Date
    Oct 2012
    Location
    Australia
    Posts
    40
    Thanks
    1
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Expired Customer hopfoto's Avatar
    Join Date
    Oct 2012
    Location
    NYC
    Posts
    954
    Thanks
    37
    Thanked 125 Times in 118 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Running Vantage on 2 sites- both are on
    the Latest Development Build (1.2.2 dev)
    & WordPress 3.5.1

  4. #4
    Thread Starter
    Forum Member margas's Avatar
    Join Date
    Oct 2012
    Location
    Australia
    Posts
    40
    Thanks
    1
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Expired Customer hopfoto's Avatar
    Join Date
    Oct 2012
    Location
    NYC
    Posts
    954
    Thanks
    37
    Thanked 125 Times in 118 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Running Vantage on 2 sites- both are on
    the Latest Development Build (1.2.2 dev)
    & WordPress 3.5.1

  6. #6
    Thread Starter
    Forum Member margas's Avatar
    Join Date
    Oct 2012
    Location
    Australia
    Posts
    40
    Thanks
    1
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    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!

  8. #8
    Thread Starter
    Forum Member margas's Avatar
    Join Date
    Oct 2012
    Location
    Australia
    Posts
    40
    Thanks
    1
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #9
    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!

  10. #10
    Thread Starter
    Forum Member margas's Avatar
    Join Date
    Oct 2012
    Location
    Australia
    Posts
    40
    Thanks
    1
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Jomark CP V 3.2.1 Post an Ad Button 500 Internal Server Error
    By bloggersclassified in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: December 28th, 2012, 11:09 AM
  2. 500 Internal Server Error
    By udeze in forum Report JobRoller Bugs
    Replies: 4
    Last Post: September 18th, 2012, 10:39 AM
  3. [SOLVED] JobRoller - HTTP Error 500 (Internal Server Error) - Install & Setup
    By hazman in forum Report JobRoller Bugs
    Replies: 13
    Last Post: February 7th, 2012, 07:33 AM
  4. Internal Server Error - ?!
    By verdelino in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: January 18th, 2011, 07:20 AM
  5. Internal Server Error
    By verdelino in forum Help Using ClassiPress
    Replies: 1
    Last Post: January 18th, 2011, 06:48 AM