• Resolved dragelykke

    (@dragelykke)


    Hi.
    Im having a problem with editing some users, I think its some sort of conflict between this plugin and woocommerce Account Funds plugin. If I deactivate one of the two, my user-editing problems go away?

    In the php error log file I’ll get theese errors:
    [31-Oct-2015 01:37:10 UTC] PHP Warning: Missing argument 2 for qsot_core_hacks::order_add_late_meta_boxes() in /home/l/i/ftp_livingyolatescom/wp-content/plugins/opentickets-community-edition/inc/sys/core-hacks.class.php on line 84
    [31-Oct-2015 01:37:10 UTC] PHP Notice: Trying to get property of non-object in /home/l/i/ftp_livingyolatescom/wp-content/plugins/opentickets-community-edition/inc/core/post-type.class.php on line 1550
    [31-Oct-2015 01:37:10 UTC] PHP Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/l/i/ftp_livingyolatescom/wp-includes/functions.php on line 3570

    Can you please help me out?

    https://wordpress.org/plugins/opentickets-community-edition/

Viewing 1 replies (of 1 total)
  • Plugin Author loushou

    (@loushou)

    Hey @dragelykke,

    Thanks for reporting these. The first two look like they are related to our plugin. I have reviewed the code in those sections, and made some adjustments. Those adjustments will be included in the next release, which could be out later today. The third one could be anything from a plugin to your theme. I have looked over our plugin’s code, and none of it seems to be directly responsible for producing this error. Essentially, this is an error caused by calling the has_cap() function on a WP_User object with the first parameter being a numeric value. We never directly do this in our code. We only use current_user_can() and only with a textual first parameter.

    Hopefully, this will help you track down that third one,
    Loushou

Viewing 1 replies (of 1 total)

The topic ‘errors in the php error log and problem to edit some users’ is closed to new replies.