Tips and Tricks HQ Support Portal › Forums › WP eMember › Error from WP eMember – need help/explanation
- This topic has 9 replies, 3 voices, and was last updated 13 years ago by admin.
-
AuthorPosts
-
November 8, 2011 at 4:25 pm #4712mack417Member
Hi,
I keep getting the following error when I try to change settings or update members in WP eMember
Warning: unserialize() expects parameter 1 to be string, array given in /home/amack417/public_html/readingcomprehensionlessons.com/wp-content/plugins/wp-eMember/emember_config.php on line 12
When I see the error and then look at the settings page, all fields appear blank, as if they weren’t set up. I have looked through the forum and other members note having received the same message, but eventually it goes away. It did that for me last night, but is back again today. I would like to see if we can have some resolution to the problem, because it makes me sort of uncomfortable getting this error.
Thanks,
Matt
November 8, 2011 at 10:17 pm #38259adminKeymasterLet me know if you still see this after following the above instruction.
November 8, 2011 at 10:17 pm #38260PeterMemberHi,
Which version of WordPress and eMember are you using?
November 16, 2011 at 12:17 pm #38261mack417MemberI downloaded a fresh version of eMember, installed and I am not getting the error, but I am still having the problem with the settings page. after I first installed the fresh version, I went in all settings pages were blank. I went through and put in all of my general settings and page settings and pushed update, however after I leave that page, when I go back into settings, all of the fields are blank again. I know that something is still wrong because when I log into the site with my example member login, I am not redirected to the member home as I should be (I had enable after login redirection, and set up to go to the member home page)
I took a close look at what is happening, and basically if I update any section of the Settings, then is resets every other page. So when I start by filling out the general settings, press save, then move on to the page settings, fill those out and press save, the general settings that I just filled out are now blank.
I now have WP eMember version 7.3.7(i don’t remember if this is what i had before i replaced) and and have been on WordPress 3.2.1 the whole time
November 16, 2011 at 8:06 pm #38262mack417MemberThe issue is not effecting eStore shortcodes that are inside of eMember protected area. I have places on my pages where a digital good is available for sale to the public, but there is an eMember protected area that my members can access to download the product with an eStore Download button. The eStore shortcodes are not working inside of the eMember protected area, so all that is showing is the code, meaning my members can not download.
I installed fresh versions of both eStpore and eMemebr today as instructed, did not resolve.
The eMember protection shortcodes are working when non members view the pages, but when a member logs in, NO shotrcodes located inside of an eMember protected area are working (eStore, or shortcodes that are part of my theme from elegant themes)
November 16, 2011 at 10:35 pm #38263PeterMemberTo eliminate the possibility that your WP theme or other plugins may be conflicting with the eStore or eMember plugins, please follow the instructions in the link below and let us know the outcome.
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
November 18, 2011 at 11:05 am #38264mack417MemberOk, I deactivated every plugin except eStore and eMember, and switched to the TwentyTen theme, still had the same problem, the shortcodes inside of an eMember protected area are not working to deliver the download from eStore.
I also checked to make sure that it’s eMember and not eStore by removing the emember protected shortcoddes and leaving the eStore download now button. Without the eMember shortcode wrapped around it, the eStore download now button works, so it has to be related to the eMember shortcodes.
In case you want to look, my URL is http://readingcomprehensionlessons.com.
If you need login in details for WP or cPanel please let me know where to send them.
Please help ASAP as this is really effecting my business.
November 18, 2011 at 10:00 pm #38265adminKeymasterFrom reading your last post it looks like the problem you describe is different than the original issue of this tread? Have you fixed the issue that gave you an error when trying to update the settings?
Also, when you share a link give the link to the exact page where you are having an issue (just giving me an URL of your home page doesn’t help me see anything).
With that said, from your last post it seems like the issue you are currently facing is related to shortcode nesting (placing one shortcode inside another shortcode). These two posts should help:
eMember – Shortcode Inside Another Shortcode (Shortcode Nesting) Not Filtering
November 19, 2011 at 5:53 am #38266mack417MemberThank you for the reply.
Yes, my problem did sort of evolve as I was going through the troubleshooting to resolve it. It started with the error message that I mentioned at first, then as I took the actions that were directed by support, other shortcode problems came up. It was effecting just about every page on my website, i sell products and let members download from multiple places.
The issue is resolved now, the change in the php seems to have worked, however I am a little bit uncomfortable.
If I encounter another issue, and then have to delete and reinstall, will in have to go in and make the same changes to the php?
Also, I still can not account for the original problem. I had not made any changes or added any plugins. I could see other users note a similar error in the forum, but no clear reason as to why.
The problem is concerning to me because I lost revenue due to it and do not want to encounter it again. Or if it happens again I need to find a way to resolve it faster.
November 19, 2011 at 10:35 pm #38267adminKeymasterThe main reason for the first issue that you encountered is explained in the post that was linked to your earlier. Here is the link again:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
File corruption is rare but can happen and there could be many reasons for it (a packet can get lost when you are downloading to your computer or uploading to the server). There is also the possibility of unwanted characters getting added to a file during the transfer process. Binary transfer helps but that doesn’t mean that it will never happen. Fortunately it is also easy to fix… simply download a new copy of the plugin and upload it again.
The shorcode nesting issue happens when the inner shortcode filtering function gets called before the outer one. Using the same filtering priority is suppose to help and it does in most installs but on some installs the nested shortcode tend to only work with the default priority (which is to not specify a priority). We use a priority of 11 for our plugins. This usually yields more compatibility with external plugins. WordPress does not guarantee the filtering order of nested shortcodes from two different plugins so we have no way of taking one action that will work on every single WordPress installs out there.
-
AuthorPosts
- You must be logged in to reply to this topic.