Can only flip STRING and INTEGER values

I am getting the following error on my main page ever since the upgrade to 8.4.  Any ideas?

  • Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 227 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).

Thanks in advance.

Drupal 8.4 new installation problem 404

I have installed few times drupal 8.4.0, and when I navigate to Content Types -> add or edit fields, it leads me to 404 page not found page.

It says: Not Found: /admin/structure/types/manage/page/fields/node.page.body was not found on this server.

I use php 5.6 built in server, mysql 5.7

The website encountered an unexpected error. Please try again later.

Hello,

I am starting to receive this warning when trying to load a page, sometimes it hoses up the site so I have to restore it.  The site is http://www.immanuel-mnh.org.  It is a multisite, with the preschool having a drupal website in the subdirectory /ics/  Oddly, when one of the sites is stuck with the error message, the other works fine.

Commerce 2: How to Enter Fields in the Order Information form (and confirmation email)?

I need to add additional fields in the customer's information form during checkout, such as Telephone number and "How did you hear about us?".  I don't see within the Commerce pull-downs in the Admin panel any way to do that similar to how fields are added in other Drupal forms.  I assume Commerce allows such customization.  Of course that data needs to be added into the database records as well.

Commerce 2: How to Implement State, County and City Sales Tax?

Unfortunately the Commerce 2 documentation is still completely blank for this section ( https://docs.drupalcommerce.org/commerce2/user-guide/taxes/us-sales-tax ). There are a number of questions I have regarding the implementation of this portion of an e-commerce store.

Let's take the case of New York State in the United States. New York State's Department of Taxation and Finance says:

Get entity/node title from ID

Hello,

In my custom theme and in a node template I set a node ID to retrieve his path.

<code>
{% set nid = 29 %}
<a class="btn btn-default" href="{{ path('entity.node.canonical', {'node': nid}) }}" role="button">{% trans %}Info{% endtrans %}</a></code>

But I don't see how to get the entity/node title from the ID.

Can you give me an example to retrieve the node title in a twig template?

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x