Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Wrong datatype for second argument

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Wrong datatype for second argument

Tagged: PHP4

  • This topic has 2 replies, 2 voices, and was last updated 14 years, 7 months ago by poomk.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 13, 2010 at 2:16 pm #2028
    poomk
    Member

    I got the following PHP error.

    “Warning: in_array(): Wrong datatype for second argument in /srv/www/…/wp-content/plugins/wp-eMember/auth.php on line 338”

    I did some search in the forum but I haven’t found the solution in my case. The module was downloaded few months ago.

    PHP4 is used, because, due to the server restriction, I couldn’t change to PHP5.

    Thanks in advance.

    October 14, 2010 at 12:21 am #25411
    amin007
    Participant

    Probably a good idea to download another fresh recent build of eMember from here:

    Request Product Update or Fresh Download Link(s)

    Upgrade the plugin then let me know how it goes.

    What is the exact PHP version (eg. 4.5, 4.7)?

    You should be using a more recent version of PHP for security reasons anyway. The next version of WordPress is going to require PHP5 at least to run so that’s another good reason to upgrade.

    October 14, 2010 at 1:37 pm #25412
    poomk
    Member

    It was PHP 4.3.9.

    At first I tried to develop a new site using the old server which was hosting an ancient site. There were some restrictions to PHP and MySQL version, which caused many problems to the new wordpress plugins (wp-eMember was probably one of them).

    Anyway, now I put the new site in a brand new host with PHP5 and just updated wp-eMember to the new version as you suggested. It works perfectly (at this moment), thanks.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ