Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By maoestrella on
Fatal error: Cannot redeclare render() in /var/www/.../includes/common.inc on line 5757
Ayuda por favor, sale este mensaje de error al intentar instalar drupal 7 en centos 6.1
La linea 5757 esta en blanco, no se que falta, intente cerrar el php con " ?> " porque no encontre el cierre de php, pero ningun resultado
Comments
Try downgrading graphviz-php and graphviz
Try downgrading graphviz-php and graphviz like so:
yum downgrade install graphviz-php-2.26.0-4.el6 graphviz-2.26.0-4.el6
worked for me. I noticed on one box that did not have a problem with drupal 7 that I got the following running pear:
pear list
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gv.so' - /usr/lib64/php/modules/gv.so: undefined symbol: zend_error_noreturn in Unknown on line 0
The box that had the problem did not give that PHP Warning, took me most of a day to find this after downgrading many other packages.
I suppose you could also disable the graphviz-php extension module by commenting out the extension in /etc/php.d/graphviz.ini
; Enable graphviz extension module
;extension=gv.so
downgrading graphviz-php works
Confirmed: downgrading graphviz-php works
yum downgrade install graphviz-php-2.26.0-4.el6 graphviz-2.26.0-4.el6
Thanks thajekku
graphviz_php is definitely the problem
graphviz defines a render() method in gv.so. So disabling or uninstalling the graphviz module does the trick.