Bacoli
Account created on 12 April 2007, over 17 years ago
#

Recent comments

🇮🇹Italy eliosh Bacoli

I'm sorry,
but it doesn't work anymore with version 7.103

This is the file generated with the rejected code:

--- includes/errors.inc
+++ includes/errors.inc
@@ -257,7 +272,11 @@ function _drupal_log_error($error, $fatal = FALSE) {
         $class = 'status';
       }
 
-      drupal_set_message(t('%type: !message in %function (line %line of %file).', $error), $class);
+      $message = '%type: !message in %function (line %line of %file).';
+      if ($backtrace_options[ERROR_REPORTING_BACKTRACE_TO_SCREEN]) {
+        $message .= '<br /><pre>@backtrace</pre>';
+      }
+      drupal_set_message(t($message, $error), $class);
     }
 
     if ($fatal) {

🇮🇹Italy eliosh Bacoli

@fatherbelly I've changed the system table and set schema_version to 7227.
Run drush updb and...

# drush8 updb

 Linkit  7300  Migrate settings from v2 to v3 if needed.                                     
 Linkit  7301  Do nothing. Update the schema version.                                        
 Linkit  7302  Reverted.                                                                     
 Linkit  7303  Fixed 7302. Set URL type to "Entity view page" to preserve current behavior.  
 Linkit  7304  Make sure admin_description can be null.                                      
 Linkit  7305  Add profile 'weight' column.
Do you wish to run all pending updates? (y/n): y
Performed update: linkit_update_7300                                                                                                      [ok]
Performed update: linkit_update_7301                                                                                                      [ok]
Performed update: linkit_update_7302                                                                                                      [ok]
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'weight' in 'field list'                                                           [error]

🇮🇹Italy eliosh Bacoli

Hi,
I was coming from 2.7 and patch in #11 doesn't work, with the same message as always:

$ drush updb
 Linkit  7303  Fixed 7302. Set URL type to "Entity view page" to preserve current behavior.  
 Linkit  7304  Make sure admin_description can be null.                                      
 Linkit  7305  Add profile 'weight' column.
Do you wish to run all pending updates? (y/n): y
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'weight' in 'field list'                                                                                                                                       [error]
Performed update: linkit_update_7303                                                                                                                                                                                  [ok]

Production build 0.71.5 2024