Posted: September 2, 2013 at 7:23 am
|
I keep seeing following PHP warnings in my error_log file, for espresso-social.php |
|
Hello, What version of Social plugin are you using please? |
|
I am using version 1.1.5.1. |
|
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? |
|
Hi Dean, |
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? |
|
|
Let me try. The CSS modifications were made to the theme style.css. |
|
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. |
Hi Suhaib,
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! |
|
|
Hi Josh, Thanks. Your suggestion works great. Thanks a lot. |
|
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. |
|
I removed the suggestion. It is giving outrageous totals of $2 Mln and 3 Mln for two or three tickets etc. |
|
I tried it again. Apparently after clearing Browser catch, the price total were correct. NO more outrageous price total. Thanks for help. |
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.