Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

[Resolved] Error loading wp-load.php from post.php

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Error loading wp-load.php from post.php

  • This topic has 1 reply, 2 voices, and was last updated 2 years, 6 months ago by wzp.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 18, 2022 at 12:23 pm #84737
    quandt
    Participant

    I upgraded my wordpress server to a recent debian 11, with latest wordpress.

    Now getting errors from trying to post to the api/post.php file

    [Fri Nov 18 19:00:10.405256 2022] [php7:warn] [pid 60303] [client 54.203.247.2:33776] PHP Warning: include_once(): Failed opening ‘../../../../wp-load.php’ for inclusion (include_path=’.:/usr/share/php’) in /var/lib/wordpress/wp-content/plugins/wp-affiliate-platform/api/post.php on line 3
    [Fri Nov 18 19:00:10.405740 2022] [php7:error] [pid 60303] [client 54.203.247.2:33776] PHP Fatal error: Uncaught Error: Call to undefined function get_option() in /var/lib/wordpress/wp-content/plugins/wp-affiliate-platform/api/post.php:7\nStack trace:\n#0 {main}\n thrown in /var/lib/wordpress/wp-content/plugins/wp-affiliate-platform/api/post.php on line 7

    The culprit is the wp-load.php file can’t be found… I can ‘fix’ it by doing a symlink of the wp-load.php file to the real location /usr/share/wordpress/wp-load.php but of course doing so seem the wrong way. I don’t recall but hasn’t wordpress changed how to ‘find’ their basic files in their version 5 systems (debian defautls to 5.7.8 as part fo their deb 11 release).

    Thoughts?

    November 18, 2022 at 7:18 pm #84739
    wzp
    Moderator

    Please first try downloading, and installing a “fresh copy” of the plugin files.

    Re-install or Load a Fresh Copy of the Plugin(s)

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ