Delhi/Bangalore
Account created on 30 May 2007, about 17 years ago
#

Recent comments

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

I just got this message after upgrading from D 10.2.7 to D 10.3.0.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

newswatch โ†’ created an issue.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

So, I solved this. :D Here it is (just in case it helps anyone else):-

This needs to be first defined in the themename.info.yml file

libraries:
  - themename/googleads

And the JS library declaration had to be modified in themename.libraries.yml a bit:

googleads:
  header: true
  js:
    https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-xxxxxxxxxx:
      type: external
      attributes:
        async: true
        crossorigin: anonymous
๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Thanks. This works.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Thanks, Jaypan.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Thanks, Ressa. The second one works. I was using the single hyphen instead of the double hyphen.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

I think the project is abandoned. The patch had worked fine initially. I am getting this error D 10.2.2 onwards.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Tha patch works. Thank you.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Hi. Any update on this feature?

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

@mediameriquat

I did use the patch mentioned here: https://www.drupal.org/project/header_and_footer_scripts/issues/3287867 ๐Ÿ“Œ Automated Drupal 10 compatibility fixes RTBC

But I am getting the error now after upgrading from 10.2.0 to 10.2.1

This is my info.yml

name: Header and Footer Scripts
description: Allows you to add the scripts and styles on overall site from the front-end. No need to open files and add them there.
package: HFS

type: module
core: 8.x
core_version_requirement: ^8 || ^9 || ^10

configure: header_and_footer_scripts.admin.header

# Information added by Drupal.org packaging script on 2021-11-01
version: '3.0.0'
project: 'header_and_footer_scripts'
datestamp: 1635754976
๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Is this module being maintained at all?

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

The patch had worked fine. But I get this new error message on admin/reports/updates:

Project not supported: This project is no longer supported, and is no longer available for download. Disabling everything included by this project is strongly recommended!

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

I have applied #9. The error has disappeared.

I am on PHP 8.2.13, D10.2.0 and 8.x-2.4 on Tablefield.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Changed PHP version to 8.2 (so that I could upgrade to D 10.2.0.

Got this error message.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Changed PHP version to 8.2 (so that I could upgrade to D 10.2.0.

Got this error message.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Hi Hervรฉ.

I just applied this on a small site. No issues so far.

Now, to apply this to a site that's big and live.

Thank you so much!

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

I can't figure out how to apply this patch. I am on 8.x-3.15.

My line 961 is this:

    ];
  }
  else {
    $form['ft']['id']['#ajax'] = [
      'callback' => 'ds_field_ui_display_overview_multistep_js',
      'wrapper' => 'field-display-overview-wrapper',
    ];
  }
๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Seems a useful module. But is not covered by Drupalโ€™s security advisory policy โ†’ .

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Thanks. This is helpful.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Thank you, Hetal.

I tried the code on a new site.

(i) It delivers the results. (ii) No errors anywhere.

Cheers!

Subir

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

#17 patch is the simplest I have seen.

For all practical purposes, the module works fine with D 10.1.5

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

#15 removed the error for me.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Hi Michael: I changed my procedure a bit.

I did create a media.mydomian.com subdomain, but did not change doc root to public_html (like last time) and instead let it remain the default /home/username/media.mydomain.com

As of now the error/warning message has disappeared.

But whether this works or not I will know once I started using the module heavily across the site.

It's a fledgling site and still being built; so, I will need to keep a watch till I run into errors :)

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

I am not sure if requests for Ludwig integration can come here.

The Upgrade Status module is crucial to see where you are placed for D10.

https://www.drupal.org/project/upgrade_status โ†’

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Hi Chris: Try this:

* Your Watchdog page will show which filter it is (ie. PHP type)

* Go to Administration > Configuration > Development > Synchronize

admin/config/development/configuration/single/export

* Config Type: Text Format

* Config Name: PHP type

* Export and copy the code

* Next go to admin/config/development/configuration/single/import

* Config Type: Text Format

* Paste the code. Change "status: true" to "status: false"

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Hi Webbeh. I will test this out for you.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Solution #6 is perfect. I set it to the max level of 22, and the result is just as desired :)

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Thanks again, Italo.

I used Ludwig to install the module. It works fine :)

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Hello Itamair: Thanks for the pointer. Yes, you are right.

I will try the Ludwig option.

[I am not too familiar with Composer, but shall try to learn that too.]

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

newswatch โ†’ created an issue.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

The following sequence works for me:

  1. Delete comment field from all node types.
  2. Delete views that ae about comments
  3. Uninstall Comment module.
๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Can we do this on the latest 8.x-1.6?

[I had posted a separate query ๐Ÿ’ฌ Breakpoint doesn't work Active too.]

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

newswatch โ†’ created an issue.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

I put the iFrame domain as https://media.mydomain.com

This subdomain was created through Cpanel, with https://media.mydomain.com redirecting to https://mydomain.com

But I'm getting an error:

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

It is astounding that something as basic as this does not have any documentation, and has been hanging fire for years now.

The text on /admin/config/media/media-settings is cryptic and confusing.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

I have the same issue.

The Responsive Image popup doesn't show.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

# 6 works. I had to restart as well.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

newswatch โ†’ created an issue.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

I changed theme, etc.

I have been able to narrow down only to this:

--> this happens only with node types with an image.

Different node types have different images. So I checked the settings of all, but have not been able to spot anything. I saveed the seetings of each of the images just to be sure.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

I will do that. Tks.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Hi Jaypan: Both node/add and node/edit use the admin themse (which is core theme).

So, I think it might be a module. But I have been using the same modules for almost a year now.

But still, just to be sure, I will still check one by one.

Thanks.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

newswatch โ†’ created an issue.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

I have the same issue as well.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

I suddenly got this error.

But the reason had nothing to do with the plugin itself.

The formatter for a taxonomy term in Manage Display had taken Juicebox Gallery by default. I hadn't noticed it.

Changing the formatter to Label obviously solved the problem.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Drupal 9.5.7 Same problem.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Resolution #12 worked for me. Thanks.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

I tried again with another site. Same issue.

I am pasting the full error message:

[15-Feb-2023 11:20:56 Asia/Kolkata] TypeError: reset(): Argument #1 ($array) must be of type array, null given in /home/pgt/pgt2023.paranjoy.net/core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php on line 134 #0 /home/pgt/pgt2023.paranjoy.net/core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php(134): reset(NULL)
#1 /home/pgt/pgt2023.paranjoy.net/core/modules/migrate_drupal/src/MigrationState.php(342): Drupal\migrate\Plugin\migrate\destination\DestinationBase->getDestinationModule()
#2 /home/pgt/pgt2023.paranjoy.net/core/modules/migrate_drupal/src/MigrationState.php(301): Drupal\migrate_drupal\MigrationState->buildDiscoveredDestinationsBySource('7', Array, Array)
#3 /home/xxx/core/modules/migrate_drupal/src/MigrationState.php(244): Drupal\migrate_drupal\MigrationState->buildUpgradeState('7', Array, Array)
#4 /home/xxx/core/modules/migrate_drupal_ui/src/Form/ReviewForm.php(133): Drupal\migrate_drupal\MigrationState->getUpgradeStates('7', Array, Array)
#5 [internal function]: Drupal\migrate_drupal_ui\Form\ReviewForm->buildForm(Array, Object(Drupal\Core\Form\FormState))
#6 /home/xxx/core/lib/Drupal/Core/Form/FormBuilder.php(534): call_user_func_array(Array, Array)
#7 /home/xxx/core/lib/Drupal/Core/Form/FormBuilder.php(281): Drupal\Core\Form\FormBuilder->retrieveForm('migrate_drupal_...', Object(Drupal\Core\Form\FormState))
#8 /home/xxx/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\migrate_drupal_ui\Form\ReviewForm), Object(Drupal\Core\Form\FormState))
#9 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#10 /home/xxx/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#11 /home/xxx/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#12 /home/xxx/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#13 /home/xxx/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#14 /home/xxx/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#15 /home/xxx/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#16 /home/xxx/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /home/xxx/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /home/xxx/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /home/xxx/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /home/xxx/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /home/xxx/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /home/xxx/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 /home/xxx/core/lib/Drupal/Core/DrupalKernel.php(713): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 /home/xxx/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#25 {main}
๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Hi Jeya:

I ran into this error:

TypeError: reset(): Argument #1 ($array) must be of type array, null given in reset() (line 134 of /home/xxx/core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php)

After uninstalling View Migration, Migrate Tools and Migrate Plus. I was able to upgrade.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Hi Jeya. Thanks. Will check it out and give feedback. Regards. - Subir

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Patch works. Thank you.

๐Ÿ‡ฎ๐Ÿ‡ณIndia newswatch Delhi/Bangalore

Tha patch works. Thank you.

Production build 0.69.0 2024