Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello ,
I am unable to create block because its not showing views display.It showing ajax error.Please fix it.
Please see attached image files.
Thanks
Comment | File | Size | Author |
---|---|---|---|
#6 | Screenshot 2016-09-06 14.15.05 Kopie.jpg | 166.39 KB | carstenhager |
#3 | block tabs.jpg | 51.25 KB | g089h515r806 |
block-tab-error.png | 71.54 KB | harishpatel86 | |
block_tab_add.png | 62.04 KB | harishpatel86 |
Comments
Comment #2
g089h515r806 CreditAttribution: g089h515r806 commentedI have test alpha3, it works correct.
Please test it again following these steps:
1,remove the old files, maybe alpha2
2,copy the alpha3 files
3,clear the cache.
D8 have opcode cache enable default.
Comment #3
g089h515r806 CreditAttribution: g089h515r806 commentedI have similar ajax error when develop alpha3, I fix it at last.
Or you could test it with a clean D8 install.
Comment #4
giuliovale CreditAttribution: giuliovale commentedI have same problem but #2 not solve the issue.
Log show:
Warning: assert(): The container was serialized. failed in Drupal\Core\DependencyInjection\Container->__sleep() (linea 29 di /var/www/drupal8/core/lib/Drupal/Core/DependencyInjection/Container.php).
and
LogicException: The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution. in Drupal\Core\Database\Connection->__sleep() (linea 1425 di /var/www/drupal8/core/lib/Drupal/Core/Database/Connection.php).
Drupal 8.1.8
BlockTabs 8.x-1.0-alpha3
Comment #5
liang808 CreditAttribution: liang808 commentedMy problem has been solved. I forgot to clear the cache.
Comment #6
carstenhager CreditAttribution: carstenhager commentedI have same problem after select a view name.
Comment #7
g089h515r806 CreditAttribution: g089h515r806 commentedThis is a problem with nginx.
apache is ok.
Comment #8
carstenhager CreditAttribution: carstenhager commentedI use apache 2.4
Comment #9
mvogel CreditAttribution: mvogel commentedI got the same issue with apache 2.4
Comment #10
VOgbuehi CreditAttribution: VOgbuehi commentedAlso using Apache 2.4.16 and receiving the same error when trying to add a view display.
Comment #11
superlolo95 CreditAttribution: superlolo95 commentedI have the same issue.
With both versions available at that time (dev and alpha).
I tried to clear the cache using crush and the web interface without any success.
I also tried to downgrade the php version from 7.0 to 5.6 without success neither.
Comment #12
g089h515r806 CreditAttribution: g089h515r806 commentedMaybe this module conflict with another module.
Could you test it with a clean Drupal 8 install.
Comment #13
pifagorThat was a patch for the views https://www.drupal.org/node/2847991#comment-11900222, your mistake but failed to play. Perhaps you have a problem in connection with other modules?
Comment #14
mvogel CreditAttribution: mvogel commentedWith the patch from #13 it is working now.
Thanks :)
Comment #15
superlolo95 CreditAttribution: superlolo95 commentedThe patch is not working for me.
With the dev version
When I add a view tab in a block tab
I gat an error
http://mydomain/admin/structure/blocktabs/manage/agence/add/views_tab?weight=1&ajax_form=1&_wrapper_format=drupal_ajax Failed to load resource: the server responded with a status of 500 (Internal Server Error)
and
use case:
create a new block tab
add a new view tab
Select a view
==>displays are not retrieved
Comment #16
g089h515r806 CreditAttribution: g089h515r806 commentedthis is a bug of 8.x-3.0-alpha3 rules module,
Update rules module to latest devel version or 8.x-3.0-alpha3 + will fix this issue.
I have the same isue in one project, after a lot debug, i find there is a bug in rules, update rules module devel version will fix this.
Comment #17
pifagor