Support

Home Forums Event Espresso Premium Error after php redirect: Warning: dns_get_record():, Can't modify header

Error after php redirect: Warning: dns_get_record():, Can't modify header

Posted: January 12, 2018 at 1:50 am

Viewing 2 reply threads


CONSERVE

January 12, 2018 at 1:50 am

Hi,

nice Plugin! But we tried to do a php header redirect on the template archive-espresso_events.php to use a normal page with a list shortcode [ESPRESSO_EVENTS title=”Veranstaltungen”]. We changed the list URL in the plugin to /event and created a page with the shortcode and the url /events

Tried this code in the archive-espresso_events.php

<?php
header("Location:https://blockchain.conserve.de/events", true, 301);
exit;
?>

We tried this because we want to add some entry text and to use some other theme options.

But it hasn’t worked. We have this error messages, also after removing the redirect and changing to the old settings:

On the most pages:
Warning: dns_get_record(): A temporary server error occurred. in /kunden/conserve.de/sites/conserve_2016/wp-content/plugins/event-espresso-requirements-check/espresso_requirements_check.php on line 87

Warning: Cannot modify header information – headers already sent by (output started at /kunden/conserve.de/sites/conserve_2016/wp-content/plugins/event-espresso-requirements-check/espresso_requirements_check.php:87) in /kunden/conserve.de/sites/conserve_2016/wp-content/plugins/event-espresso-core-reg/core/EE_Front_Controller.core.php on line 112

On the tried redirect page https://blockchain.conserve.de/event :
Warning: dns_get_record(): A temporary server error occurred. in /kunden/conserve.de/sites/conserve_2016/wp-content/plugins/event-espresso-requirements-check/espresso_requirements_check.php on line 87

Warning: Cannot modify header information – headers already sent by (output started at /kunden/conserve.de/sites/conserve_2016/wp-content/plugins/event-espresso-requirements-check/espresso_requirements_check.php:87) in /kunden/conserve.de/sites/conserve_2016/wp-content/plugins/event-espresso-core-reg/core/EE_Front_Controller.core.php on line 112

Warning: Cannot modify header information – headers already sent by (output started at /kunden/conserve.de/sites/conserve_2016/wp-content/plugins/event-espresso-requirements-check/espresso_requirements_check.php:87) in /kunden/conserve.de/sites/conserve_2016/custom-config.php on line 154

The redirect is not important, but we have to resolve the error! It is strange because we don’t have it on everyone browser or device. I hope you can help us.

Thank you & greetings
Sebastian


CONSERVE

January 12, 2018 at 2:24 am

Hi again,

I deactivate this plugin: Event Espresso Requirements Check.
I don’t know it and I hasn’t know that this plugin was installed. Now it seams to work. Is it alright to leave this one deactivated or do I need it.

Thank you
Sebastian


Tony

  • Support Staff

January 12, 2018 at 2:58 am

Hi Sebastian,

You don’t need that plugin, it’s a minimum requirements check plugin designed to be installed on the site, check for some minimum requirements for EE and show a report for the admin to act on, then it can be removed.

You can safely remove that plugin with a problem.

Viewing 2 reply threads

The support post ‘Error after php redirect: Warning: dns_get_record():, Can't modify header’ 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