• I installed this plug in, and added three venues. That’s all I’ve done. Then clicking Edit on a Venue crashes WordPress with a white screen of death with only the message “cannot load venues”

    I’ve never had WP crash before. I posed a message on the developer’s “pre-sales support” area, but rather than answer my question or provide any help he deleted the message!

    Then I posted a second one about his plug in crashing, asking if he is interested in a crashing problem with his software. He deleted that one too!

    This problem surely isn’t happening for others, since what I’m doing is being done by everyone else. So, how can I troubleshoot and fix this?

    I enabled WP_DEBUG and found this in my error log. This installation is hosted at WPEngine, and on a new WP install for a site I’m building. I’ve never had WP crash before.

    Anyone have ideas for how to get this plug in working?

    [Wed Jan 29 23:28:12 2014] [error] [client 108.68.121.232] PHP Warning: include() [function.include]: Failed opening ‘/nas/wp/www/cluster-1359/MYWEBSITE/wp-content/advanced-cache.php’ for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /nas/wp/www/cluster-1359/MYWEBSITE/wp-settings.php on line 65, referer: https://MYWEBSITE/wp-admin/admin.php?page=venues

    [Wed Jan 29 23:28:12 2014] [error] [client 108.68.121.232] 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 /nas/wp/www/cluster-1359/MYWEBSITE/wp-includes/functions.php on line 3006, referer: https://MYWEBSITE/wp-admin/admin.php?page=venues

    https://www.ads-software.com/plugins/event-organiser/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    Hi Jim,

    I responded to your e-mail earlier and your other post here on the www.ads-software.com forums (https://www.ads-software.com/support/topic/cannot-load-venues?replies=5) yesterday. Seems you weren’t notified :).

    Have you tried disabling other plug-ins to see if there may be a conflict? A WSoD is a serious error, and not one I’ve come across before on the venue admin page, so a conflict seems a likely cause. If so, which plug-in(s) / theme?

    (The error messages you post above are simply warnings, and wouldn’t themselves cause the WSoD.)

    Thread Starter Jim Reekes

    (@reekes)

    The two plugins (this + Ozh’ Admin Drop Down Menu) have a conflict.

    I’ve used Ozh on many sites and for years, but never found a problem before. So this was surprising. The crash is too deep into the internals of WordPress for me.

    For now I’ll live without Ozh, as Event Organiser is more important to the site.

    Plugin Author Stephen Harris

    (@stephenharris)

    So I know what is causing it. The drop-down menu is effectively changing the admin urls. I’ve not looked into the details as to why, but with ozh deactivated the admin venues page url is:

    /wp-admin/edit.php?post_type=event&page=venues

    However, when ozh is activated clicking the venues link takes you to:

    /wp-admin/admin.php?page=venues

    Note that the original url still works – its just the new admin menu points to this second url. The venues page works fine, however the edit venue url (which is the above appended with ?action=edit&venue=[venue-slug]) works for the first url but not the second.

    As such if you activated Ozh and manually type the first url you’ll find you can still edit the venues. If you actually click the link in the new admin menu it takes you to the second url, and that produces a faulty edit-venue url. Bizarre.

    I’ve not looked into detail as to why alternate urls are being generated, but as it happens using get_edit_term_link() produces a valid edit-venue url, so in the next update I’ll be using that rather than appending ?action=edit&venue=[venue-slug]. So both plug-ins will be compatible in the next update.

    Thread Starter Jim Reekes

    (@reekes)

    Stephen, awesome work!

    I’ll follow up with my post to the author of Ozh and cite you’re discovery.

    BTW – I’ve been playing with Events Organiser all day and finding it’s really great. I see that the code is written well, and nicely documented. Lots of good options built in, and many hooks/filters for exploring.

    I used to be a VP of Products for a calendaring company way back before calendars went on-line. A decent events calendar has been like a holy grail. Surprising to me that so many attempts and few successes. EO is at the top of my list of finds.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘crashes WordPress (right out of the box)’ is closed to new replies.