WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Subscribe2] Error: 'Warning: implode() [function.implode]'

[Resolved] [Plugin: Subscribe2] Error: 'Warning: implode() [function.implode]'

  • Jenny Beaumont
    Member

    @jennybeaumont

    Hey folks,

    Subscribe2 just stopped working on a site I manage a couple months ago. After following this thread, I followed along and then sent myself a “preview” email. The email arrived just fine, but the following error was left on the page:

    Warning: implode() [function.implode]: Invalid arguments passed in /home/content/xxx/html/wp-content/plugins/subscribe2/classes/class-s2-core.php on line 543

    The site is hosted with GoDaddy, but I’m really hoping there’s another solution out there than changing hosts. Ideas?

    thnx!
    -jennyb

    http://wordpress.org/extend/plugins/subscribe2/

Viewing 15 replies - 1 through 15 (of 23 total)
  • Jenny Beaumont
    Member

    @jennybeaumont

    Also, I just noticed that for the two times I sent the preview mail, I received 4 copies each time.
    ??

    mattyrob
    Participant

    @mattyrob

    @jennybeaumont,

    I cannot reproduce the first error you are getting. As for 4 emails arriving, this is expected behaviour in per-post mode, it’s one email for each of the different options available.

    Jenny Beaumont
    Member

    @jennybeaumont

    Question: should Subscribe2 create a table in the database?

    mattyrob
    Participant

    @mattyrob

    @jennybeaumont,

    Yes, it needs a table to hold the details for the Public Subscribers.

    Jenny Beaumont
    Member

    @jennybeaumont

    Oh right, of course. I’ve got that one; I guess I was wondering if there was an additional one for options.

    Hmmm, so line 543 corresponds to

    $this->post_cat_names = implode(', ', wp_get_object_terms($post->ID, $s2_taxonomies, array('fields' => 'names')));
    		$this->post_tag_names = implode(', ', wp_get_post_tags($post->ID, array('fields' => 'names')));

    Any ideas where to start on this? Do you think this could be a server problem? At a loss as to how to attack this problem…

    thnx,
    -jennyb

    mattyrob
    Participant

    @mattyrob

    @jennybeaumont,

    What version of WordPress are you using? Are you using any custom post types or taxonomies?

    What categories (or taxonomies) is your most recent post assigned to?

    Jenny Beaumont
    Member

    @jennybeaumont

    Heya,

    The site is running on V3.3.1. Posts are organized by category only, and the most recent post is assigned to 3 different categories (A year in a French market: Spring, Mastering the Art of French Eating, Recettes)

    thnx,
    -jennyb

    mattyrob
    Participant

    @mattyrob

    @jennybeaumont,

    I’ve run WordPress 3.3.1 and more recently 3.3.2 without seeing this issue. Does is still happen if you disable all other plugins?

    I’ll check the multiple category thing later but this far I still cannot reproduce this error message and until I can I can’t figure out a fix.

    Jenny Beaumont
    Member

    @jennybeaumont

    Yes, the error shows even after disabling all other plugins 🙁

    thanks again for you help.
    -jennyb

    Jenny Beaumont
    Member

    @jennybeaumont

    Just tried reducing to one category, but the error still occurred.

    thnx,
    -jennyb

    mattyrob
    Participant

    @mattyrob

    @jennybeaumont,

    Thanks for doing some checking. What theme are you using?

    Jenny Beaumont
    Member

    @jennybeaumont

    Of course! 🙂
    This is the website:
    http://annmah.net/

    And it looks like the theme was done by this guy:
    http://corymiller.com/

    I haven’t touched it (the theme) much at all. Mostly I’ve been helping Ann with upgrades and new plugins. She was originally on a very old version of WordPress. Didn’t occur to me to look toward the theme since I didn’t think the Subscribe2 interacted much with it. Subscriptions, etc all work fine. It’s just the sending of the emails that was working great in the beginning (post WP upgrade, after installing the plugin), then just stopped at some point.

    I’ve also been having trouble with Xcloner on her site, which has generally worked great for me on other client sites. The only other major change that the site has undergone was a hosting upgrade at Godaddy. Recent feedback about Godaddy hasn’t been great – do you think that could be it?

    thnx!
    -jennyb

    mattyrob
    Participant

    @mattyrob

    @jennybeaumont,

    Themes can make enormous changes to WordPress, normally via the functions.php file. The Theme appears to be a paid and custom solution.

    That said, from what you said above about things working fine (post-upgrade) and then suddenly stopping I strongly suspect that it’s GoDaddy. they seem pretty awful at the moment and several people have reports their websites have 100% restored functionality on leaving GoDaddy.

    Jenny Beaumont
    Member

    @jennybeaumont

    I just got a word back from the Xcloner guy who says that problem is also related to a server file. Godaddy it is. Sigh.

    thnx for all your help!
    -jennyb

    Brunzo
    Member

    @spatrix

    Hi,
    I’m getting the same error too, we are on a VPS server, and we have 2 installation of the same website (DEV and PRODUCTION)

    When I try to send a Preview Email from the settings page, I get the same error.

    The weird thing is that in production is not working, and in Dev is ok instead.

    The server configuration is the same, so there’s must be something else.

    Warning: implode() [function.implode]: Invalid arguments passed in /home/XXXXXXX/public_html/wp-content/plugins/subscribe2/classes/class-s2-core.php on line 543

    Any idea?

    Thanks

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘[Resolved] [Plugin: Subscribe2] Error: 'Warning: implode() [function.implode]'’ is closed to new replies.