Memberium outputs several warning messages in the WordPress admin dashboard. In this guide, we’ll show you each of these warnings and the steps you need to take in order to fix them.
What’s covered in this guide:
- Cloudflare Warning
- Cron Failure
- Database Configuration Error
- Memberium Install Alert – IonCube Missing
- Memberium License Missing / Expired
- Older PHP Version Detected
- Outdated LearnDash Version Detected
- Possible Low Memory Issue
- Security Vulnerability Detected – Display Errors
- Security Vulnerability Detected – PHP Info
- WPEngine Optimization
Memberium does work with Cloudflare, but a few changes need to be made in order to make sure that passwords and contact updates happen without fail. Our guide here will walk you through the necessary steps to configure Cloudflare correctly. Typically, you only need to add a page rule to allow the HTTP POSTs through.
Apart from the firewall blocking HTTP POSTs, Cloudflare offers page caching. Memberium and other membership plugins aren’t compatible with page caching in many cases. The problem is that Memberium allows you to show different things to different users on the same page. For instance, User A might see their name at the top of the page while User B would see his name. Caching takes a snapshot of the page when User A is logged in and shows that to User B when he logs in. This means User B would see User A’s name. Not a good end-user experience.
We’d recommend disabling page caching in Cloudflare. There are other minification techniques you can take advantage of to increase site speed.
This warning lets you know that the Memberium generated cron jobs have been deleted or aren’t running. Memberium relies on WP Cron for certain functions and when they don’t run it can cause problems. Now, this is the only warning on this list that we won’t be able to provide direct instructions on fixing.
Usually, deactivating and reactivating Memberium will recreate the cron jobs, but the issue may not be that they’re missing. It could be a problem on your webhosts end or something causing the jobs simply not to run.
Please reach out to our support team if you get this error so we can assist in diagnosing and fixing this issue.
Database Configuration Error
The MySQL storage database has several storage “engines” used to actually control the data storage. There’s the older “MyISAM” engine, and the newer “InnoDB” engine. The InnoDB engine has many advantages over the older engine and has become the standard after MySQL 5.5. Each engine is a plugin that’s loaded by the MySQL server.
For these advantages, some of the Memberium database tables specify using the InnoDB specifically.
One of the MySQL database functions is to pull a list of database engines that are currently supported. Memberium uses that function to list the available engines and makes sure that “InnoDB” is in the list.
The warning you are getting is because when you log in as admin, we pull and compare that list on each page load, and display the warning if InnoDB is not found on the list. The InnoDB check is very simple and so far we’ve never had a false report of this, and even when the webhost objected, once they stopped arguing, and escalated the problem, they discovered we were in fact correct.
Contact your webhost to ensure that that the InnoDB engine is available. Memberium support, unfortunately, won’t be able to help with this particular issue as it’s outside of our control.
Memberium Install Alert – IonCube Missing
Memberium currently requires the IonCube Loader to run on your site. When the loader is missing, you’ll see this error message. When you receive this, the first thing you should do is contact your webhost. Most webhosts will be able to install or enable the IonCube loader for you.
If they’re unable to install or enable it, at times, our support team is able to attempt to do it manually depending on who you’re hosting with. We’ll need access to your WordPress site and access to your site’s files via FTP or SFTP access. Gather those details and reach out to us if your webhost isn’t able to install it for you.
Older PHP Version Detected
This warning is notifying you that your PHP version is outdated. PHP support for 5.6 ended on December 31, 2018 and apart from performance increases with the new PHP 7.x – we strongly suggest you update for security reasons.
Oftentimes, you can update your PHP version yourself inside of cPanel. If you don’t know how to do that or you’re uncomfortable making those changes, contact your webhost as they should be able to update it for you.
Outdated LearnDash Version Detected
Memberium’s full integration with LearnDash only works when using LearnDash 3.0 or later. Without updating, you won’t be able to use the full set of features due to code changes. Simply update LearnDash to 3.0+ and all the features will be present.
If you’ve updated and are still seeing this warning, you can simply click the “Hide this Notice” button.
License Missing or Expired
The first thing you should check after seeing this message is your Memberium subscription. You can log in at memberium.com/members or contact our support team to ensure you have an active license.
Make sure the domain you’re using matches the domain you licensed. If you have a Pro license, make sure you’re using the same app you registered with us.
If you haven’t purchased a license, you can always get one by going to our pricing page and signing up.
Although the majority of the time this error only appears when your license has truly expired or doesn’t exist for that domain, there are cases where your site has trouble contacting our licensing server. If you’re sure you have a license for the domain in question, reach out to our support team so we can take a look.
Low Memory Warning
This error message lets you know that you may need to increase your WordPress memory limit. We have an entire guide on making this change here. Oftentimes, your webhost can assist you with this, too. Reach out to them if you’re not comfortable making the change on your own.
Increasing the memory typically makes your site run faster if it was short on memory. However, most sites don’t need more than 128-256MB. Read our linked article for more details on how much you should add.
Security Vulnerability Detected – Display Errors
The security vulnerability detected warning appears when your site is set to display errors to the browser. This is insecure because it could allow a bad actor to gain information about your site/infrastructure. It could also cause problems with logins.
In order to disable it, you can follow this guide. If you’re still seeing the warning after making those changes or you’re not comfortable making the changes, reach out to your webhost and tell them you’d like to turn off display errors.
If your webhost isn’t able to help, reach out to our support team for assistance in changing this PHP setting.
Security Vulnerability Detected – PHP Info File
When you see this warning, Memberium is alerting you that there is a phpinfo file in your WordPress directory that is accessible to the public. As the warning mentions, this file can expose server data and should be removed. You can typically find the file in cPanel or through FTP and simply delete it. If you’d like assistance in removing the file, contact our support team.
WP Engine Warning
Memberium does currently work with WP Engine on PHP 7.2. You will need to contact their support team as ask them to disable redirect_bots. This security option they provide blocks HTTP POSTs which could cause password generation, contacts updates, and more to fail.
After you’ve had WP Engine change that setting, you can click the “Hide this Notice” button on the warning message.