I have a problem with an old theme that can't be updated. My hosts (1&amp;1) are now charging to continue using PHP 5.6 but I get the following errors when switching to PHP 7.2 and I don't know what to do. If anyone can help, it would be much appreciated. Thanks in advance.  Warning: Declaration of mysiteDescriptionWalker::start_el(&amp;$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&amp;$output, $item, $depth = 0, $args = Array, $id = 0) in /homepages/36/d129703868/htdocs/mightyoak/bhd-wp/wp-content/themes/construct/lib/classes/menu-walker.php on line 45   Warning: Declaration of mysiteResponsiveMenuWalker::start_lvl(&amp;$output, $depth) should be compatible with Walker_Nav_Menu::start_lvl(&amp;$output, $depth = 0, $args = Array) in /homepages/36/d129703868/htdocs/mightyoak/bhd-wp/wp-content/themes/construct/lib/classes/menu-walker.php on line 87  Warning: Declaration of mysiteResponsiveMenuWalker::end_lvl(&amp;$output, $depth) should be compatible with Walker_Nav_Menu::end_lvl(&amp;$output, $depth = 0, $args = Array) in /homepages/36/d129703868/htdocs/mightyoak/bhd-wp/wp-content/themes/construct/lib/classes/menu-walker.php on line 87  Warning: Declaration of mysiteResponsiveMenuWalker::start_el(&amp;$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&amp;$output, $item, $depth = 0, $args = Array, $id = 0) in /homepages/36/d129703868/htdocs/mightyoak/bhd-wp/wp-content/themes/construct/lib/classes/menu-walker.php on line 87  Warning: Declaration of mysiteResponsiveMenuWalker::end_el(&amp;$output, $item, $depth) should be compatible with Walker_Nav_Menu::end_el(&amp;$output, $item, $depth = 0, $args = Array) in /homepages/36/d129703868/htdocs/mightyoak/bhd-wp/wp-content/themes/construct/lib/classes/menu-walker.php on line 87
11903
I'm currently working on a WordPress site and whenever in the admin I go the Appearance > Menus page I get the following error:     ErrorException: Runtime Notice: Declaration of Walker_Nav_Menu_Edit::start_lvl() should be compatible with that of Walker_Nav_Menu::start_lvl() in wp-admin/includes/nav-menu.php line 203   It seems like some sort of PHP compatibility issue. I'm running PHP 5.3.10 on my local dev machine.  What would be the best way to remedy this problem?
48682
From Drupal 8 beta 6 (released today), I have this error :     Error message UnexpectedValueException: Untrusted Host "localhost" in   Symfony\Component\HttpFoundation\Request->getHost() (line 1221 of   core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Request.php).   I use this local url to call my site:   Inside my setting file, I have:       $settings['trusted_host_patterns'] = array(         'theming\.dev$',      );   Note, this error is displayed only when I uncomment this lines:   if (file_exists(__DIR__ . '/settings.local.php')) {    include __DIR__ . '/settings.local.php';  }   What is the problem please ? Thanks.
20482
Every time I have tried to enable the Cube Surfer addon but this error message comes up. FYI I have the correct versions of everything.  I have had this problem with some other add ons as well. Sometimes it's when I have tried to click a button in an addon (after 'successfully' installing)
119894
I was stuck up with the error   directive 'register_globals' is no longer available in PHP in unknown on line 0   when tried to check the php version using "php -v" after enabling register_globals in php.ini file. I am not getting any php version info by doing so. Instead it throws the above mentioned error.After turning off this option, php info works quite well. It is very essential for me to have register_globals to be turned on.How can I have this corrected.  my php.ini is as follows:   ; Default Value: None ; Development Value: "GP" ; Production Value: "GP" ; http://php.net/request-order request_order = "GP"  ; Whether or not to register the EGPCS variables as global variables.  You may ; want to turn this off if you don't want to clutter your scripts' global scope ; with user data. ; You should do your best to write your scripts so that they do not require ; register_globals to be on;  Using form variables as globals can easily lead ; to possible security problems, if the code is not very well thought of. ;  register_globals = On  ; Determines whether the deprecated long $HTTP_*_VARS type predefined variables ; are registered by PHP or not. As they are deprecated, we obviously don't ; recommend you use them. They are on by default for compatibility reasons but ; they are not recommended on production servers. ; Default Value: On ; Development Value: Off ; Production Value: Off ;  register_long_arrays = Off  ; This directive determines whether PHP registers $argv &amp; $argc each time it ; runs. $argv contains an array of all the arguments passed to PHP when a script ; is invoked. $argc contains an integer representing the number of arguments ; that were passed when the script was invoked. These arrays are extremely ; useful when running scripts from the command line. When this directive is ; enabled, registering these variables consumes CPU cycles and memory each time ; a script is executed. For performance reasons, this feature should be disabled ; on production servers. ; Note: This directive is hardcoded to On for the CLI SAPI ; Default Value: On ; Development Value: Off ; Production Value: Off ; register_argc_argv = Off  ; When enabled, the SERVER and ENV variables are created when they're first ; used (Just In Time) instead of when the script starts. If these variables ; are not used within a script, having this directive on will result in a ; performance gain. The PHP directives register_globals, register_long_arrays, ; and register_argc_argv must be disabled for this directive to have any affect. ; auto_globals_jit = On
123782
I tried installing Drush with both methods listed in the drush.org documentation. I think they might be conflicting with each other if that's possible.   When I run composer global require drush/drush all the components appear to install correctly. However when I change to a Drupal site (Using XAMPP, /opt/lampp/htdocs/sitefolder) and run drush status I get the following error:      PHP Fatal error:  Undefined class constant 'MYSQL_ATTR_SSL_CA' in   phar:///usr/local/bin/drush/lib/Drush/Sql/Sqlmysql.php on line 56   Drush command terminated abnormally due to an unrecoverable error.   [error] Error: Undefined class constant 'MYSQL_ATTR_SSL_CA' in   phar:///usr/local/bin/drush/lib/Drush/Sql/Sqlmysql.php, line 56   I do have the following line in my ~/.bashrc:  export PATH="$HOME/.composer/vendor/bin:$PATH"  Unfortunately I don't know how to troubleshoot from here, as there doesn't seem to be an easy way to uninstall Drush via the main method (), which didn't seem to work for me. composer global remove drush/drush does appear to run successfully.  Thanks in advance.
79467
This should be the easiest thing to do, but for some reason I just can't get it done.  I'm trying to get a friendly static error page to replace nasty 500 scenarios. For now I'm just trying to replicate a 500 situation on my local machine (Drupal 7 running on MAMP) by throwing in some crap characters on the top of my template.php in my theme, which does trigger a 500 situation, but for some reason the ErrorDocument directive in my .htaccess or Apache config file has no effect.  What I'm doing is quite simply this:  ErrorDocument 500 /500.html   And I have the simplest ever static html-page in the root of my site with the name of 500.html.  Still, when I intentionally break template.php, I get the dreaded White Screen Of Death instead of my nice friendly error page.  What am I doing wrong here? I've done this a billion times in non-Drupal setups but just can't get my head around this one.
103021
I recently tried to move my Drupal site to a new server using this page: . But now the style doesn't seem be loaded and more importantly I get this error on every page in the site (even on the frontpage):  Warning: file_put_contents(temporary://filef76T9k): failed to open stream: &quot;DrupalTemporaryStreamWrapper::stream_open&quot; call failed in file_unmanaged_save_data() (line 1900 of /Library/Server/Web/Data/Sites/Default/drupal/includes/file.inc). The file could not be created.  Any ideas what this could be about?
120541
Like it says -- I've got a D7 content type whose editing form needs to be themed.  I did this all the time in D6 by registering theme functions in template.php and writing the associated theming functions, but things seem to have changed in D7, especially regarding what goes into template.php, or if D7 has shifted to using .tpl.php files for this, or whatever.  Is there any advice out there?
55579
I am using 2011 theme, any how I managed to get sidebar on single.php pages by installing child theme,  But now I want sidebar on pages,  How do I get it?
10696
I've tried it a 100 times I'm really new to Ubuntu and ended with a bunch of error that I don't even understand can any one please help me??  Here is what I did:   I installed PHP  I installed libcurl then php5-dev I tried installing PECL extension and it says PHPIZE not found.
94365
I downloaded PHP 7.3.18 from . Then I configured it, maked it and installed it from source. If I execute php -v then I get  PHP 7.3.18 (cli) (built: Jun 17 2020 12:55:46) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.18, Copyright (c) 1998-2018 Zend Technologies  but phpinfo shows 7.2.5 What am I missing?
46182
As late as last week my setup for biblatex worked fine. Going back to the same project today not even a minimal file compiles:  \documentclass{article}   \usepackage{biblatex} %\addbibresource{biblatex-examples.bib}   \begin{document}  test%foo\nocite{*}    %\printbibliography  \end{document}   but breaks off with   /usr/local/texlive/2017/texmf-dist/tex/latex/biblatex/biblatex.sty:3776: LaTeX  Error: Missing \begin{document}.  See the LaTeX manual or LaTeX Companion for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.3776   australian,newzealand} ?  /usr/local/texlive/2017/texmf-dist/tex/latex/biblatex/biblatex.sty:3776: Math f ormula deleted: Insufficient symbol fonts. \expandafter -&gt;american|  l.3776   australian,newzealand}   And keeps repeating the last one until    (That makes 100 errors; please try again.)   when I ignore it.  Files without biblatex work as expected.  Using tlmgr to go my two backup versions of biblatex back in time to 1st Jan I still get the same errors.  Could this be another update from the last week or so that causes this?  If I swich back to TL 16 things work as expected. (For my work I need TL 17 because of packages.)
114840
I just installed and activated the latest version of the . However, when I attempt to access a REST endpoint, I end up with the Apache 404 page.  $ curl -i 'http://example.com/wp-json/wp/v2/posts/1' HTTP/1.1 404 Not Found Date: Wed, 20 Jul 2016 01:23:25 GMT Server: Apache/2.4.18 (Unix) PHP/5.6.23 Content-Length: 219 Content-Type: text/html; charset=iso-8859-1  &lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt; &lt;html&gt;&lt;head&gt; &lt;title&gt;404 Not Found&lt;/title&gt; &lt;/head&gt;&lt;body&gt; &lt;h1&gt;Not Found&lt;/h1&gt; &lt;p&gt;The requested URL /wp-json/wp/v2/posts/1 was not found on this server.&lt;/p&gt; &lt;/body&gt;&lt;/html&gt;   That is -- WordPress itself is never invoked.  I'd expect the above request to throw an error of some sort (since I'm attempting to connect unauthenticated).  However, my WordPress system is being bypassed entirely.   I'm an experienced PHP developer here, but I only ever dip in and out of Wordpress dev so apologies in advance for a question that likely has an obvious answer.  This bit of cryptic-to-me text from the installation instructions seems like it may be relevant     For full-flavored API support, you'll need to be using pretty permalinks to use the plugin, as it uses custom rewrite rules to power the API.   but not being familiar with WordPress' routing system (or equivalent), I'm not sure what my next steps should be in debugging this problem.
90818
I have been searching for a solution but nothing seems to work.  I have a single Drupal 6 website up on this server.    Server:Ubuntu 12.04 Apache/2.2.22 (Ubuntu) 5.3.10-1ubuntu3.8 MySQL 5.5.32 Drupal 6  Here is a link to my Apache2 and MySQL error files and my config file for MySQL.  Please have a look.  Those files are huge, that is why I linked to them instead of pasted them in here.  If I need to I can paste in here.  Just let me know.  Thanks.  I have done a lot of searching.  I mostly try to Google the errors themselves but can't seem to find the right solution.  I think I have narrowed it down to a problem with innodb but that is it.  I check the tables in the error log and phpMyAdmin say they are ok and I repair them anyway and still get the crashing.  When my site crashes, I have to restart Apache and then restart MySQL and then the site comes back up.  It has been crashing 2 - 6 times a day.  Any help would be greatly appreciated.  Thanks.
19983
I would like to know how to theme Drupal 7  elements? I want to change the HTML structure of every element, not just wrap form with div or something like that. And I want to leave theme's elements as they were.  EDIT: I would like to add class to label and input type radio button.
692
Suddenly I cannot add any menu entry via the "Menu" settings option (....wp-admin/nav-menus.php).  Any new menu I set results in de-selecting the currently selected menu and saving a "null" menu structure in my homepage!  Any help would be greatly appreciated because my home page is affected/  Thank you
22057
I need to use php5 (5.6) because I'm working on a Drupal 7 project which doesn't support php7. The problem is I recently updated to ubuntu 16.04 Xenial which seems to .   I tried to install it from , however when It try to install it with apt I always get similar errors.  $ sudo apt-get install php5-cli Cependant les paquets suivants le remplacent :   php7.0-cli:i386 php7.0-cli`   Which means it's obsolete. How can I install PHP 5.6 on Xenial?