Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have created a sub-theme of Zurb-Foundation and the front-end displays very well. In fact, I didn't realize I had a problem until I looked at the site reports. I originally thought the issue was a Drupal core problem because the errors point to type: php, and the messages point to core elements.
I get dozens of these errors when I refresh a browser page:
Notice: Array to string conversion in Drupal\Core\Asset\AssetResolver->getLibrariesToLoad() (line 110 of /Users/brett/vhosts/ddclab/core/lib/Drupal/Core/Asset/AssetResolver.php).
I would like to replace the search submit button with a Font Awesome character like the Magnifier (Search Icon) character, and put Search the site inside the search box.
I'm trying to install a new theme on a fresh drupal 7 installation but I have a little issue right from the get-go. I can't even get the template started. It shows me:
Fatal error: Call to undefined function views_get_page_view() in /Applications/XAMPP/xamppfiles/htdocs/Didiweb/sites/all/themes/shachico/template.php on line 35
and line 35 that is in question shows as follows:
//View template
if (views_get_page_view()) {
$vars['theme_hook_suggestions'][] = 'page__view';
}
Please have a look on my web hosting site: http://www.ehdf.com & suggest some cool related themes for it, also give a brief guide on how I can install it. Please note, the site has not migrated yet on Drupal.