WordPress.org

Ready to get started?Download WordPress

Forums

CampTix Event Ticketing
[resolved] Warning: Missing argument 2 for wpdb::prepare() (3 posts)

  1. sneader
    Member
    Posted 1 year ago #

    Hi all. I am helping a local not-for-profit with what I thought was a simple "order a ticket" offering. I have installed the Camptix plugin, I have NOT done any special customizing.

    When I went to make my first test purchase (using live PayPal, not sandbox), after the PayPal payment was confirmed, I was brought back to the WordPress ticket ordering page where it displays:

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/username/public_html/wp/wp-content/plugins/camptix/camptix.php on line 1906 and defined in /home/username/public_html/wp/wp-includes/wp-db.php on line 990

    Then, under that, it shows the "Ticket Summary".

    Any ideas? I am using WP 3.5 -- maybe a compatibility issue?

    - Scott

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

  2. sneader
    Member
    Posted 1 year ago #

    I found that camptix.php in the repository was changed in the last 30 hours, with a fix that appeared to be related to my problem. I made the same change to my file and now the problem is resolved. I suspect that there will be a version 1.2.1 coming soon, and it will resolve this for everyone else that might have this problem.

    http://plugins.svn.wordpress.org/camptix/trunk/camptix.php

    - Scott

  3. Konstantin Kovshenin
    Member
    Plugin Author

    Posted 1 year ago #

    Yes Scott, that's correct :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.