Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 52634

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

0 votes

Setting SQL session variables every time modules are installed or updated?

Come to find out the /app/etc/env.php file has an initStatements setting where these can be set. My specific need was added like so 'db' => [ 'connection' => [ 'default' => [ …
Tim Ramsey's user avatar
0 votes
1 answer
155 views

Setting SQL session variables every time modules are installed or updated?

I am trying to install Magento 2 using a Digital Ocean Managed Database(DO). The issue is that DO does not allow tables to be created without a primary key(via global sql_require_primary_key=1). The …
Tim Ramsey's user avatar
0 votes
1 answer
57 views

How to handle modules in multiple webservers behind a load balancer?

This is my setup: DB Server NFS Server for shared media files Load Balancer Web Server 1 Web Server 2 What is the best way to handle installing modules? The only thing I can think of is going into …
Tim Ramsey's user avatar
4 votes

Check if product is new using observer

For me the isObjectNew() was available in catalog_product_save_before, but was not available in catalog_product_save_after. I simply created my own isNew variable in the Observer and set it to true i …
Tim Ramsey's user avatar