Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Espresso Social Php warnings | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Espresso Social Php warnings

Espresso Social Php warnings

Posted: September 2, 2013 at 7:23 am

Viewing 12 reply threads


Suhaib Siddiqi

September 2, 2013 at 7:23 am

I keep seeing following PHP warnings in my error_log file, for espresso-social.php
[01-Sep-2013 19:02:06] PHP Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home5/bostonde/public_html/wp-content
/plugins/espresso-social/espresso-social.php on line 161
[02-Sep-2013 04:00:18] PHP Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home5/bostonde/public_html/wp-content/plugins/espresso-social/espresso-social.php on line 161


Dean

  • Support Staff

September 3, 2013 at 2:14 am

Hello,

What version of Social plugin are you using please?


Suhaib Siddiqi

September 3, 2013 at 3:42 am

I am using version 1.1.5.1.


Dean

  • Support Staff

September 3, 2013 at 5:41 am

Hi,

Well the function it is referring to is requesting some data. On my test server the data is supplied correctly.

Have you modified the templates in any way?


Suhaib Siddiqi

September 3, 2013 at 6:50 am

Hi Dean,
Yes, but only CSS, as suggested by you for view cart image in response to my questions last week in this thread http://staging.eventespresso.com/topic/view-cart-image/


Anonymous

September 3, 2013 at 7:03 am

Hi Suhaib,

Looking at your site we can see you have a lot of ee template files within wp-content\uploads\espresso\templates that directory is used to save customisations made to the template files which users would like to keep after Event Espresso updates.

If you are not running any modifications you do not need those files in there. First try renaming the ‘wp-content\uploads\espresso’ folder to ‘wp-content\uploads\espresso-temp’ and recheck everything works on your site.

EE should fall back to the default files within the event-espresso\templates\ folder.

Assuming you’ve made no customisations to those files, and added the CSS mentioned above to your themes .css file (or some other similar method) this should then work fine.

Does that then still give the error?


Suhaib Siddiqi

September 3, 2013 at 7:12 am

Let me try. The CSS modifications were made to the theme style.css.


Suhaib Siddiqi

September 3, 2013 at 8:21 am

That seems to work. I do have an other question. Is it possible to display not only first but all the tickets prices under Event view? I normally use multiple type of tickets for different prices. It confusing to customers if they see only one ticket price in Event View or they click on Add to cart to see multiple choices for tickets.


Josh

September 3, 2013 at 2:56 pm

Hi Suhaib,

Is it possible to display not only first but all the tickets prices under Event view?

It is, and it turns out that we’re working on adding some options to a future version of Event Espresso that will let you display a range of prices -or- a list of prices there on the event list.

Until the new version is ready you can the readymade code example here to make this happen:

https://gist.github.com/sethshoultes/ab1e992668cf3166a686

Then where it normally displays only one price in event_list_display.php, you can substitute it with:

I hope that helps!


Suhaib Siddiqi

September 3, 2013 at 6:29 pm

Hi Josh,

Thanks. Your suggestion works great. Thanks a lot.


Suhaib Siddiqi

September 3, 2013 at 6:33 pm

Wait Wait, it does NOT work great!!!!! I added a $20 ticket to event then delete it from the cart, after deletion the cart, the total is outrageous, instead of $0.00, it is showing me Total $ 1000000.00, Refresh Total. You can try it yourself at http://www.bostondesiconnection.com.


Suhaib Siddiqi

September 3, 2013 at 6:36 pm

I removed the suggestion. It is giving outrageous totals of $2 Mln and 3 Mln for two or three tickets etc.


Suhaib Siddiqi

September 3, 2013 at 7:54 pm

I tried it again. Apparently after clearing Browser catch, the price total were correct. NO more outrageous price total. Thanks for help.

Viewing 12 reply threads

The support post ‘Espresso Social Php warnings’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server