I use drupal 7.22 with Apache 2.2 , mysql 5.5 and PHP 5.3.
I'm having the error of WSOD, and when I enable the error message, it shows:
Fatal error: Call to undefined function views_get_enabled_views() in
/var/www/drupal7/sites/all/modules/admin_menu/admin_menu.map.inc on
line 150
It happens when I migrate the whole drupal to another system, or when I update the core to the recent released version, WHERE I enter the username and password to access the administration page ( /drupal-address/user).
You got this error because of view does not support some function of new drupal
check last reply on this link
https://drupal.org/node/1778470
Also
https://drupal.org/node/1170192
Related
We recently went through a website migration, PHP & WP upgrades. We are currently using a customized theme and keep getting the following error once we upgrade from PHP 5.6 to 7.0:
Fatal error: Cannot redeclare get_resources() (...) /functions.php on line 220
Already changed all include to include_once, but still getting the same error.
Anyone ever went through a similar issue?
PHP introduced a function called get_resources() in PHP7:
get_resources
(PHP 7)
get_resources — Returns active resources
Read full manual entry here.
--
You'll have to upgrade your WordPress version to the latest out - the fix will be in there.
I was working on my Wordpress last night and went to open the dashboard in a new tab and suddenly now I can't log in or view my site, I just keep getting these error messages:
"Fatal error: Call to undefined function mysql_connect() in /home/caschica/public_html/connect.php on line 2"
"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
www.caschicago.com
www.caschicago.com/wp
Another reason to use mysqli or pdo, since php 6 or 7 it is not supported anymore to use mysql.
I cant believe how many times this is the answer on SO.
Getting website encountered an unexpected error, please try again while adding goals using goals module in demo framework drupal 7.
and in recent logs I get the
Recoverable fatal error: Object of class Entity could not be converted to string in DatabaseStatementBase->execute() error
I found a work around.......
I disabled the personalize module and the error is gone. So the problem was some conflict between Personalize and goals module....... I 'm working on how to get these two modules working together
Problem was----->
Recoverable fatal error: Object of class stdClass could not be converted to string
Answer: I have uninstalled XAMPP 3.2.3 control panel which was using php version 7.x
and then install XAMPP 3.2.1 control panel which uses php version 5.6.3. After using XAMPP 3.2.1 the problem is solved.
To see php version use the command as following
c:\cd xampp\php
c:\xampp\php>php -v
I'm developing a PHP application which generating reports to PDF
Right now I'm facing some troubles
I'm working from my own computer with XAMPP Server and the code ran well
But when I copied the codes to my office's WAMP5 Version 1.6.5 Server I got errors
Fatal error: Call to undefined function array_fill_keys() in D:\wwwroot\tcpdf\include\tcpdf_fonts.php on line 1848
I went to that troubled line and removed it, but another Fatal error: Call to undefined function occured
Is there something wrong with my WAMP5 configuration?
Thanks
Your version of php is to old... as Royal Bg suspected.
Either upgrade to 1.6.6 for php 5.2. But if there is no reason to use such an old version switch to something less than 7 years old :)
see:
http://sourceforge.net/p/wampserver/news/?source=navbar
I have downloaded the very latest version of IonAuth for Codeigniter on GitHub. It is a very good library however when I try to logout after logging in I get the following error (which I've had in previous builds) - I know I can just comment the lines out but is there a reason for the errors?
Fatal error: Call to undefined method CI_Session::sess_destroy() ....\Ion_auth.php on line 381
I just kept them commented out.. seems to wrk