Posted: March 22, 2015 at 4:00 pm
|
WordPress Version: https://www.behindtheshutter.com Site address (URL): From this page: https://www.behindtheshutter.com/shutterfest-2016 when you click to register for tickets, it is taking us to a blank page with this link: https://www.behindtheshutter.com/events/shutterfest-2016/?ee=process_ticket_selections so no one can register for our event. |
|
more information below. error being generated: PHP Fatal error: Call to a member function is_espresso_page() on a non-object in /home/bts/public_html/wp-content/plugins/event-espresso-core-reg/core/CPTs/EE_CPT_Strategy.core.php on line 348 |
|
Hi, The first thing to do is to “flush” your permalinks: go to Settings > Permalinks > then just press save. If this doesn’t resolve the issue, you will need to trouble shoot to determine if it is another plugin or the theme causing the issue: Start by disabling all plugins except EE. If the issue goes away, activate each plugin one by one, testing the page each time until the culprit plugin is found. If the issue does not go away after disabling all plugins, try using the Them Test Drive plugin to swap to a default theme to see if that resolves the issue. If neither of those find the issue, please advise. |
|
sorry guys – disabled every plug in – still not working. also – refreshed permalink as advised. you are seeing the error being thrown – the wp theme hasn’t changed in 5 years. your plug in used to work. stopped working after a recent upgrade to your plug in. thanks you for your help. we are trying to open registration today and are obviously having massive issues. |
Hi Sal, could you update to a current version of the software and then refresh your pretty permalinks? https://eventespresso.com/wiki/ee4-changelog/ At this time the current version is 4.6.16. Thanks — |
|
|
in the support ticket we created yesterday – we listed the wrong version. we are currently running 4.6.16 and i have refreshed permalinks already – by hitting save… still not working. |
Sal, We received your priority support request, checked a few things in the admin, but we really need FTP credentials in order to troubleshoot. Please re-send the priority support request and include FTP credentials this time so we can investigate. |
|
Sal, Please send us FTP credentials that can access the files where you have WordPress installed. The credentials you sent are for an empty directory. |
|
Hi Sal, I spent the last hour looking into this and found that the registration form issues are fixed if I go to WordPress > Settings > Permalinks and change the setting from Post name to Default, then click Save Changes. I’ve changed the settings back, and if you’d like you can change the settings to default so the registration process will work. Then, I can advise checking with your host to see if anything on the server configuration that’s related to the mod_rewrite module has been changed recently. See also: https://codex.wordpress.org/Using_Permalinks#Using_.22Pretty.22_permalinks Normally the Post Name structure will work just fine with Event Espresso 4, and if it worked earlier, then something in the server’s configuration may have been changed. |
|
|
yeah i am really confused how you got it to work. i went in – changed it to default and nothing worked. not even my normal page. liquid web is saying nothing has changed. |
Hi Sal, The link to the reg form page will change when you switch to the default permalinks. I dug into this further and found that it’s an issue caused by your WP theme. I can look into this more to find a way to fix your theme, but in case you want to know, it’s the ad_display_check() method in pagead.php that’s causing the breakage. |
|
Update: I applied a fix to the theme. Details to follow. |
|
Please pass this information on to the theme developer. Here’s what we changed: in ssi/pagead.php on line 17 the action hook was changed to ‘wp’ instead of ‘init’. Then, on line 177 in the ad_display_check() method we changed how it gets the $post_id. So instead of: it’s now: When it used the url_to_postid() function, it was loading on parse_request and causing the breakage you saw earlier. |
|
|
thank you SO MUCH! we have passed the changed on to our developer for review. |
The support post ‘event registration page broken’ 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.