• Customized a directory theme for a client on my local host. Made sure WP was updated to most recent version as well as all plug ins before uploading files to web host. After updating config.php for new database, etc. I get the following error message:

    Fatal error: require_once(): Failed opening required ‘/home1/kiarose/public_html/thethriftersguide.com/wp-admin/includes/class-wp-list-table.php’ (include_path=’.:/opt/php54/lib/php’) in /home1/kiarose/public_html/thethriftersguide.com/wp-content/plugins/inventor/libraries/class-tgm-plugin-activation.php on line 1962

    Line 1962 from class-wp-list-table.php is: return ( ! empty( $installed_plugins[ $this->plugins[ $slug ][‘file_path’] ] ) );

    …but I’m not sure what to update. Do I replace ‘file_path’ with ‘.:opt/php54/lib/php’ ?

    Thanks in advance for help. I’m relatively new to customizing and installing WP themes and haven’t had a lot of experience dealing with errors.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Could you please check if the file /home1/kiarose/public_html/thethriftersguide.com/wp-admin/includes/class-wp-list-table.php exists in that location and is readable ?

    Something may have gone wrong with the upload, so uploading that specific file again will likely solve your issue.

    Thread Starter terrioh

    (@terrioh)

    Thank you jrf. I did check and found that class-wp-list-table.php does exist in that location and is readable. I uploaded all of wp-admin/includes again but am still getting the same error message. Any other thoughts or things I can look at/try?

    Could you check what the permissions for that file are ? And whether the owner is the same as for the plugin files ? And if there are any server directives which may block access to that file ?

    As the error states, PHP fails to open the file, so if the file is there, there must be something blocking PHP from reading it.

    Thread Starter terrioh

    (@terrioh)

    Permission for all files 0755. Sorry, but I don’t understand what you mean when you ask: And whether the owner is the same as for the plugin files ?

    I just uploaded the entire plugins folder again and am getting the same error message. There may be something blocking it but I don’t know how to find it. These files have been uploaded to an addon domain on web host so current site can remain live until this new site is ready to go. This is not the only WordPress site in /public_html so it’s possible something is blocking it. I just don’t know how to figure that out. Thank you.

    Sorry, but I don’t understand what you mean when you ask: And whether the owner is the same as for the plugin files ?

    Within a file system, every file has an owner. Sometimes you might run into permission issues when the owner of two files which call each other aren’t the same.

    I suggest you call your webhost and ask them for help.

    Thread Starter terrioh

    (@terrioh)

    Thanks. Webhost directed me here and some other places to get help. They said code is my problem not theirs. The website works fine on on my local server and my web host so maybe that’s what the client needs to change.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Warning/Fatal Error require once after installation of customized WP theme’ is closed to new replies.