Error after install

Mon, 12/28/2015 - 07:28
#1
Error after install

Hi There,

I've installed a fresh copy of the theme and saw 2 errors which won't go away unless i turn off the error messages.

  • Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; views_display has a deprecated constructor in require_once()(line 3161 of /Applications/MAMP/htdocs/make/includes/bootstrap.inc).

  • Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; views_many_to_one_helper has a deprecated constructor in require_once() (line 127 of /Applications/MAMP/htdocs/make/sites/all/modules/contrib/ctools/ctools.module).

Can you let me know how to fix these 2 issues?

Thanks.

phuonght's picture
phuonght
Mon, 12/28/2015 - 22:16

Hi,

Are you using PHP version 7? As we can see from messages, some functions of module views and ctools are not suitable with your current PHP version. 

Because it is Drupal 7 so you could check System requirement at https://www.drupal.org/requirements. At the momment, it can work stably with versions 5.x (from version 5.4 to higher versions). 

Tue, 12/29/2015 - 22:55

Thanks. Upgraded server and no more error.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.