Skip to:

plugin error in our weird configuration

  • nikdow


    We have ~30 WP sites on a server.
    We store plugins in a central directory and slink to them from each website that uses that plugin.
    (Reason: saves a lot of memory in OPCache & saves compiling the code more than once.)
    This relies on plugins being well-behaved. bbpress used to work but has lately broken.
    We are seeing this error:
    Loading failed for the <script> with source
    What it should be trying to load:
    Obviously the plugin is using the filepath to construct the loading URL, I suspect the code doing this is non-standard, causing the problem.

    Temporary solution is to load the plugin into the wp-content directory of the site, rather than using the slink. This has been implemented but means that the plugin won’t update. (We do updates outside of WP using python/SVN, and apache doesn’t have write access to any directories that contain PHP files – more secure). Fortunately we don’t use the plugin on any other sites.

Viewing 1 replies (of 1 total)

  • Robin W


    bbpress has not had a release since November 2021, so what do you mean by ‘has lately’ – if after that, then suspect something else is now making that not work.

    You suggested cause (‘I suspect the code doing this is non-standard’) may be correct and something else is now causing this to show or it may not be bbpress causing this. Maybe look at what else has changed – wordpress, php versions, other plugins etc.

    Without knowing your set up or indeed your technical ability (although from you post this seems to be good!) I’d also initially suggest the standard fault finding :

    it could be a theme or plugin issue


    As a test switch to a default theme such as twentytwenty, and see if this fixes.


    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar