Home Forums Newsletter Plugin Support Footer does not work after customization and override

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26585

    Hi there,

    I have been dealing with the following problem for a couple of days now. I’m pretty new to this but a friend of mine asked me if I could set up a customized newsletter theme for his company. So what did I do:

    I copied the default theme, changed the name of the copy to slptheme (slp is the name of my customer’s company) and customized it (added an image to the header, inserted the contact details of the company into the footer). Everything worked and the theme absolutely satifies my customer’s needs. However after that I created the extensions folder for an override and copied the customized theme into the extensions folder (wp-content/extensions/newsletter/emails/themes/slptheme is the path). I deleted the slptheme from the standard folder (wp-content/plugins/newsletter/emails/themes) to simulate a plugin update. Everything still works: the theme is there, the image in the header is being shown and all customizations still appear.

    Only one thing does not work and that is where my problem begins: instead of showing me the contact details of the company in the footer, I can see that message:

    Warning: include(/home/httpd/vhosts/mydomain.ch/httpdocs/wp-content/plugins/newsletter/emails/themes/slptheme/footer.php): failed to open stream: No such file or directory in /home/httpd/vhosts/mydomain.ch/httpdocs/wp-content/extensions/newsletter/emails/themes/slptheme/theme.php on line 83

    Warning: include(): Failed opening ‘/home/httpd/vhosts/mydomain.ch/httpdocs/wp-content/plugins/newsletter/emails/themes/slptheme/footer.php’ for inclusion (include_path=’.:/usr/share/pear:/usr/share/php’) in /home/httpd/vhosts/mydomain.ch/httpdocs/wp-content/extensions/newsletter/emails/themes/slptheme/theme.php on line 83

    Line 83 of theme.php says that: <?php include WP_PLUGIN_DIR . ‘/newsletter/emails/themes/slptheme/footer.php’; ?>

    To be honest, I do not know what that exactly means but it is quite important for me to fix it since I do not want to lose that job. Hope someone can help me 🙂

    Thank you in advance 🙂


    In your theme you’re including the footer from the wrong folder. Try to include it with an absolute path.

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