• Resolved benormstad

    (@benormstad)


    Greets!

    I’m about to build a new website for a client, and bought the Method theme for this job. The Tailor plugin came as a prerequisite to import and try the Method demos. The problem is, when activating Tailor, I get these errors (the first line is repeated multiple times):

    Warning: array_key_exists() expects parameter 2 to be array, null given in /home/xxxx/xxxxxxxxxxxxxx.com/wp-content/plugins/tailor/includes/helpers/helpers-elements.php on line 1191

    Warning: Cannot modify header information – headers already sent by (output started at /home/xxxx/xxxxxxxxxxxxxx.com/wp-content/plugins/tailor/includes/helpers/helpers-elements.php:1191) in /home/xxxx/xxxxxxxxxxxxxx.com/wp-includes/option.php on line 837

    Warning: Cannot modify header information – headers already sent by (output started at /home/xxxx/xxxxxxxxxxxxxx.com/wp-content/plugins/tailor/includes/helpers/helpers-elements.php:1191) in /home/xxxx/xxxxxxxxxxxxxx.com/wp-includes/option.php on line 838

    As I’m on a deadline, I would really appreciate a speedy, enlightening reply! Hopefully it’s not a too big thing to fix ??

    • This topic was modified 7 years, 5 months ago by benormstad.
    • This topic was modified 7 years, 5 months ago by benormstad. Reason: Just fixed a few spelling errors
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter benormstad

    (@benormstad)

    Still need help. Anyone know anything about this problem?

    Hi – I would check that Tailor isn’t been activated twice. Also as you’ve bought a theme with Tailor included, you should go back to the Theme developer and ask them why it isn’t working.

    Plugin Author Andrew Worsfold

    (@andrewworsfold)

    Hi @benormstad

    This is actually an issue with the Method theme, not the Tailor plugin. I’ve let the author know so that they can release a fix.

    If you need to make an immediate fix yourself, the issue is due to the custom elements being defined in the bundled Method extension for Tailor. Each element is passing $general_control_arguments to tailor_control_presets() without first defining that variable. Setting it to an array removes the notification.

    Hope that helps,
    Andrew.

    Thread Starter benormstad

    (@benormstad)

    Thank you very much, @andrewworsfold!

    The Method theme did come with a new update, so I thought it was to fix it (I also talked to them about it), but somehow the problem still persists.

    I understand I need to set it as an array, but how exactly do I do it?

    I appreciate the response!

    Hello @benormstad.
    Did you find how fixing your bug with the theme “method” and “Tailo”?
    Thank you

    • This reply was modified 7 years, 4 months ago by takinours.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help! Expects parameter 2 to be array, null given in …’ is closed to new replies.