Jump to content
Sign in to follow this  

PHP Fatal error: Class 'PageLinesNav' not found

Recommended Posts



Running Wordpress 3.4.2 Tried to update Pagelines Framework to the latest version. However something went wrong and the site disappeared also lost access to Admin pages with an internal server error.

Looked at the logs and saw this error:

[19-Oct-2012 13:40:29] PHP Fatal error: Class 'PageLinesNav' not found in /home/hinelega/public_html/wp-content/themes/pagelines/sections/brandnav/section.php on line 18

So I physically disabled Pagelines theme by login in via FTP and adding XXX's into the pagelines directory name forcing the install to revert to Twenty Eleven theme, Admin pages came back up as did the site in Twenty Eleven theme, so data and Wordpress install seems fine.

Restored Pagelines framework from backup, however whenever I try to Activate the Framework I get the same error.

Deactivated all Plugins, but again same error.

Tried restoring the database from the backup and all was good with the database, but again no change.

The site is hinelegal.com, (however I am blocking access to it right now). I am now not sure what update had last been done which I restored from my backup. However I was definitely updating to the latest Pagelines update when the error occurred. I'll also mention I am using a child theme with this install in case that is a factor.

Any ideas.



Share this post

Link to post
Share on other sites

Been struggling with this for hours now. Having done some Google searches, this error message is popping up in a lot of Error Logs, so seems to be something fairly common. However I can't find any mention of it in the Technical Support forums bar a few threads that closed without identifying the cause.

Am I missing something really obvious with this?

hinelegal.com works fine in any other theme, but as soon as I try to activate Pagelines Framework it breaks the site and throw up the error message in my earlier post. As soon as I force it back into the Twenty Eleven theme all is OK. Any help, suggestions/ advice would be gratefully received!!!



Share this post

Link to post
Share on other sites
James B

Hi there, I'm not sure what the error messages means but it sounds as if a file could be corrupted inside your original pagelines theme. I'd say the best bet is to download a fresh version of Pagelines and re-install. Please switch back to the 2011 theme and then delete the original PL theme.

Go to http://www.pagelines.com/launchpad/member.php and download a zip file of the latest version of the Framework from the 'your products' tab. Install into your wp dashboard through appearance>themes as a new theme. Hopefully this will resolve the issues you've been having.

If you're still receiving error messages please enable the wp-debug in wp-config.php http://codex.wordpress.org/Debugging_in_WordPress and provide us with a full error report from this.

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post

Link to post
Share on other sites

Hi James,

Worked a treat!! For anyone else that gets this issue, James's suggestion worked perfectly. I backed up my child theme and just to be sure deleted everything Pagelines related, plugins etc. Reinstalled Pagelines and all related plugins and sections, then added my child theme back in and it worked.

I'm a little concerned my backups from just before the update event and a week before exhibited the same issue when restored to the server. However the fresh install has fixed it!

Sidebars and footer have defaulted but thats a minor concern compared to a broken site!!

I'm a happy man.

Thanks James, your help and simple suggestion is very much appreciated.

This can be marked as resolved.



Share this post

Link to post
Share on other sites

The topic was marked as resolved.

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • jeomiland
      By jeomiland+
      Hi guys
      Hopefully an easy question. I have some custom code included in a Next section in a DMS site that I'm converting to platform5. What is the easiest way to insert my code into a "section" which I can easily add to my page structure with the platform5 page editor? I have the Embed extension but that takes javeascript, and my PHP test failed. Also have the Shortcodes extension, but looks like that only inserts objects into the WP-loop? and again, how to create a Hook that can go here?
    • KathleenAspenns
      By KathleenAspenns+
      I would like to upgrade my site to PHP 7, but there is an error warning in the PL Framework theme. I should think this should be fixed asap, I cannot be the only person trying to be up to date.
      1976 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
    • Dan Haddock
      By Dan Haddock
      DMS: Latest Version
      Running a Child Theme
      Wordpress: 4.8.3
      Akismet Anti-Spam 
      Coming Soon Page & Maintenance Mode by SeedProd
      Contact Form 7
      Cookie Law Info
      DMS Professional Tools    
      Enhanced Media Library
      Google Analytics for WordPress by MonsterInsights
      Google XML Sitemap    
      Jetpack by WordPress.com
      MailChimp for WordPress
      PageLines Updater
      Really Simple SSL
      Schema App Structured Data
      Sucuri Security - Auditing, Malware Scanner and Hardening  
      Uber reCaptcha
      Yoast SEO
      Problem Below
      Hi Team,
      I am looking to style the Continue Reading Button with the PHP you provided in an earlier ticket here: 
      I put the PHP code into my site, however I do not get my Icon back, I just get back Read More >>
      I have attached a screenshot of the code in place on my site along with the output.
      Interested to know what I may be doing wrong? - I am very new to PHP so a bit apprehensive on this.
      The Images: https://drive.google.com/open?id=0B0i4JJXa2jdQN2xoakZNRUdmaU0
      Let me know if you need any more information from me.
    • casseysdesigns
      By casseysdesigns+
      In the past I would use nextbox for this task. However, Platform 5 does not have nextbox. I will do my best to describe what I am trying to do.
      I am creating a template for coaches, each product has its own link but they all share a common coach id. I want to set up the templates with the links for each product with a variable for the coach id so that I can change the coach id for all the links on the site by just changing the value of the variable $coachId. To do this I'll need to do something like the following...
      <a href="salesite.com/productcodes/referringRepId=<?= $coachId ?>" target="_blank">Product Purchase Link</a> Is it possible to do this with Platform 5?
    • dbrowne02
      By dbrowne02+
      Hey, this looks like a great product. Thank you for making it!
      Unfortunately, when I activated plugin, I got this error. Thanks in advance for helping with this. 

      Fatal error: Cannot redeclare wmHtmlEditorEnable() (previously declared in /home/dbrowne02/brownelaborlaw.com/wp-content/plugins/enhanced-options-editor/enhanced-options-editor.php:14) in /home/dbrowne02/brownelaborlaw.com/wp-content/plugins/enhanced-options-editor/enhanced-options-editor.php on line 15