WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Plugin install fail with custom theme – Warning: require_once(PLS_FUNCTIONS_DIR/

[Resolved] Plugin install fail with custom theme – Warning: require_once(PLS_FUNCTIONS_DIR/

  • We are currently trying to install your Real Estate Website Builder plugin into our website utilising the Circles 3.5 WordPress Theme. Upon install and activation everything crashes and we are presented with the following:

    Warning: require_once(PLS_FUNCTIONS_DIR/core.php) [function.require-once]: failed to open stream: No such file or directory in /www/wp-content/plugins/placester/blueprint/blueprint.php on line 382

    followed by a fatal error on the same file and line.

    The only way to bring everything back up and running is to physically remove the placester folder from our ftp.

    Could you please assist.

    Many thanks

    https://wordpress.org/plugins/placester/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    So sorry to hear you are having a problem with the plugin. PLS_FUNCTIONS_DIR is defined in blueprint early on. The fact that this error message shows that the file cannot be found in PLS_FUNCTIONS_DIR rather than in the actual directory the plugin is in tells me that there is a problem with how the define() function is declared. define() has been part of PHP for a very long time, but it is possible that you have a very old version of PHP. What version are you using? Also, what hosting provider are you using?

    Also, what other plugins are being used? Are you using Advanced Custom Fields? Due to a strange conflict, Advanced Custom Fields requires that you use the Options Page addon as well.

    Hi Matt,

    Thanks for your response.

    In answer to your questions, we are setup with php version 4.0.8 by our hosting provider who is TMD Hosting (shared). We noticed 4.1.8 is available so we’ll attempt to upgrade and see if this resolves the issue.

    With reference to the plugins utilised, actually we ran a clean install without any plugins installed or activated. So the theme Circles 3.5 by Theme Smack was running as a fresh default install without any mods or tweaks, yet we still encountered this problem. Definitely ‘Advanced Custom Fields’ is not installed.

    Many thanks

    Hi Matt,

    Actually the php version is 5.3. Version 4.0.8 is for phpmyadmin. Sorry for the confusion.

    According to my hosting company, they performed a vanilla install and had no issue with the install itself however upon activating with the Circles 3.5 theme the error occurs as I experienced.

    Is something conflicting here with the theme?

    Regards

    I have contacted the theme developers to try to get a copy of Circles to try to troubleshoot what’s going on. Could you contact us on support@placester.com. Then I can ask a few questions that aren’t possible on this forum.

    Hey Matt, I am having the same issue with the Beaver Builder theme and plugin. The moment I activate the Placester plugin I get the following error:

    Warning: require_once(PLS_FUNCTIONS_DIR/core.php): failed to open stream: No such file or directory in /home/webdomain/public_html/wp-content/plugins/placester/blueprint/blueprint.php on line 384

    Fatal error: require_once(): Failed opening required ‘PLS_FUNCTIONS_DIR/core.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/webdomain/public_html/wp-content/plugins/placester/blueprint/blueprint.php on line 384

    Plugin Author Placester Inc.

    @placester

    Hi utihomes,

    The conflict relates to plugin initialization, and specifically to the WordPress action hook after_setup_theme–which we trigger on at a specific priority in placester/blueprint/blueprint.php

    When things go wrong, the consequence looks dramatic, but what’s happening is simply that some of our initialization code never gets called. We’ve come across a few third party themes that clear out our triggers and replace them with their own. Beaver may be one of them.

    You can try going to this page: https://wordpress.org/plugins/placester/developers/ and downloading the development version of the plugin–the first link under Other Versions. Uninstall the current version 1.2.2 from your site and install this more recent one.

    In this development version, we’ve changed the initialization code to work around a similar conflict with the Advanced Custom Fields plugin. This change may work with the Beaver theme and plugin as well. If this newer version of the plugin doesn’t work either–and you’re comfortable editing PHP–I might be able to give you a couple of code changes to try.

    Please let me know how it goes.

    Thank you. I’ll give that a go and let you know if that works.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Plugin install fail with custom theme – Warning: require_once(PLS_FUNCTIONS_DIR/’ is closed to new replies.