Keep failing upgrade from 2.3.2-p1 to 2.4.3-p1 –need help!!

I’ve been working with Adobe support on this but I figured it was worth asking around here to see if anyone has run into this before. I’m trying to upgrade our cloud instance of Magento 2.3.2 to 2.4.3 and I keep running into the following error which causes the build to fail.

[2022-01-11 20:28:41] NOTICE: End of reconciling modules. [2022-01-11 20:28:41] INFO: File "front-static.php" was copied [2022-01-11 20:28:41] INFO: Configuring directory nesting level for saving error reports [2022-01-11 20:28:41] NOTICE: The file /app/pub/errors/local.xml with the `config.report.dir_nesting_level` property: `1` was created. [2022-01-11 20:28:41] INFO: Sample data media was not found. Skipping. [2022-01-11 20:28:41] NOTICE: Running DI compilation [2022-01-11 20:30:23] ERROR: [15] The command "php ./bin/magento setup:di:compile --ansi --no-interaction" failed. %message% 0/9 [>--------------------Interception cache generation... 6/9 [=========>----] 66% 1 min 538.5 MiBB0 MiB In Log.php line 92: Error during compilation setup:di:compile W: W: In Processor.php line 129: W: W: The command "php ./bin/magento setup:di:compile --ansi --no-interaction" fa W: iled. %message% 0/9 [>---------------------------] 0% < 1 sec 9 Proxies code generation... 0/9 [>-------------------- Proxies code generation... 1/9 [= 0 MiB Repositories code -----------------] 11% < 1 sec 97.0 MiB : 2mRepositories code generation... 2/9 [====>---------------] 22% 8 se Service data attributes generation... 2/9 [===>- Service data attributes generatio 294.0 MiB Application c .. 3/9 [====>---------] 33% 9 secs 296.0 MiB A W: ode generator... 3/9 [====>---------] 33% 9 secs 296.0 MiB W: pplication code generator... 4/9 [======>-------] 44% 19 secs 320.0 M Interceptors generation... 4/9 [======>-------] 44% 19 se Interceptors generation... 5/9 [=======>------] Area configuration aggregation... 5/9 [= Area configuration aggregation 1 min 394.5 MiB Interception ca 6/9 [=========>----] 66% 1 min 538.5 MiB W: che generation... 6/9 [=========>----] 66% 1 min 538.5 MiB W: In Log.php line 92: W: W: Error during compilation W: W: W: setup:di:compile W: W: W: In CompileDi.php line 73: W: W: The command "php ./bin/magento setup:di:compile --ansi --no-interaction" fa W: iled. %message% 0/9 [>---------------------------] 0% < 1 sec 9 Proxies code generation... 0/9 [>-------------------- Proxies code generation... 1/9 [= 0 MiB Repositories code -----------------] 11% < 1 sec 97.0 MiB : 2mRepositories code generation... 2/9 [====>---------------] 22% 8 se Service data attributes generation... 2/9 [===>- Service data attributes generatio 294.0 MiB Application c .. 3/9 [====>---------] 33% 9 secs 296.0 MiB A W: ode generator... 3/9 [====>---------] 33% 9 secs 296.0 MiB W: pplication code generator... 4/9 [======>-------] 44% 19 secs 320.0 M Interceptors generation... 4/9 [======>-------] 44% 19 se Interceptors generation... 5/9 [=======>------] Area configuration aggregation... 5/9 [= Area configuration aggregation 1 min 394.5 MiB Interception ca 6/9 [=========>----] 66% 1 min 538.5 MiB W: che generation... 6/9 [=========>----] 66% 1 min 538.5 MiB W: In Log.php line 92: W: W: Error during compilation W: W: W: setup:di:compile W: W: W: In Shell.php line 86: W: W: The command "php ./bin/magento setup:di:compile --ansi --no-interaction" fa W: iled. %message% 0/9 [>---------------------------] 0% < 1 sec 9 Proxies code generation... 0/9 [>-------------------- Proxies code generation... 1/9 [= 0 MiB Repositories code -----------------] 11% < 1 sec 97.0 MiB : 2mRepositories code generation... 2/9 [====>---------------] 22% 8 se Service data attributes generation... 2/9 [===>- Service data attributes generatio 294.0 MiB Application c .. 3/9 [====>---------] 33% 9 secs 296.0 MiB A W: ode generator... 3/9 [====>---------] 33% 9 secs 296.0 MiB W: pplication code generator... 4/9 [======>-------] 44% 19 secs 320.0 M Interceptors generation... 4/9 [======>-------] 44% 19 se Interceptors generation... 5/9 [=======>------] Area configuration aggregation... 5/9 [= Area configuration aggregation 1 min 394.5 MiB Interception ca 6/9 [=========>----] 66% 1 min 538.5 MiB W: che generation... 6/9 [=========>----] 66% 1 min 538.5 MiB W: In Log.php line 92: W: W: Error during compilation W: W: W: setup:di:compile W: W: W: build:generate W: E: Error building project: Step failed with status code 15. E: Error: Unable to build application, aborting. 

I’ve been working on this for the past 2 weeks and this is the farthest I’ve been able to get. Googling the error codes is not pulling up anything that relates to this and I’m lost on where to look for answers.

“help me obi-wan kanobi, you’re my only hope”

submitted by /u/rhodesman
[link] [comments]

Magento 2 Checkouts

The default Magento 2 checkout is really poor IMO. And almost every client we speak to does not like it and the logic of it. I’ve looked at loads of extensions over the years which all seem to be the same old one page checkout.

Can anyone share any Magento 2 websites which is clean, user-friendly and easy to use? I’d be keen to explore any for ideas more than anything else at this stage. TIA

submitted by /u/zigojacko2
[link] [comments]

Payment – Authenticate in M2 and Capture in ERP

Hi!I am entrusted with integrating our new magento store with ERP. Being a non-tech person but only person who is even remotely close to understanding tech in-house I am looking into solutions/workarounds.

Most of our products are backordered, so when an order is placed I was wondering if there is a way to authenticate payment in Magento and capture in the ERP (MS Navision) upon order shipment (after 4-5 days)?

This is because ERP is managed by 3PL who also handle support. Management thinks this setup is good way forward.

submitted by /u/Pistonshaft
[link] [comments]

New module – now no products will display

I am trying to extending the Grouped Product using this as a guide: https://github.com/magento-user/magento2-groupedproducts-attribute

The end result is so that I can access the custom attributes of associated products on a grouped product page.

However, after added the new module/plugin using the github link referenced, now any product I try to open I get a 404 not found message.

Not sure how to evaluate what the problem is or reverse course on this.

Can anyone provide some guidance?

submitted by /u/davidbarman
[link] [comments]

Configurable Products in Data Feed – How?

This seems like a very common problem for Magento storeowners, but I find hardly any advice or solutions to it.

Specifically in Google’s feed requirements.

  • Magento 2 does not allow you to provide a parent item a price. Ok, so submit the children, right?

  • Except, the children are flagged “Not Visible Individually” generally, leading to 404.

  • While most product feed plugins allow you to provide the parent’s information, is this good practice? If I have multiple children, I could just provide a singular parent URL for every child, right?

  • What if the children are different price? Now I am being flagged because the higher price is not what is displayed by default in Magento as a user, its usually the “cheapest” option’s price.

  • Magento DOES allow you to preselect options, but its not the most user intuitive method. Most feed plugins generally do not offer this as well for providing child product information in the URL.

I’m looking for advice from any store owners here – how did you solve this? A specific plugin? Subscribe to a third party service? Configurable products aren’t some unique thing to Magento storeowners, and neither is using Google Shopping. So how to combine the two with no fuss?

I did some initial research and came away with two options: Use parent information period (URL, image, etc as necessary), or use the item_group_id field, but when using that Google says you need to group items by specific variant types (color, size, material…) — but what if our items fall under NONE of that?

Thanks in advance

submitted by /u/FitFly0
[link] [comments]

Product custom attributes

I am trying to access product custom attributes on a group product page. What would be the correct syntax to add the grouped.phtml to check for the value of the custom attribute?

For example, if the attribute name was: product_divider_attribute

would we use $_item->getProductDividerAttribute();

Or is there a different syntax that I should be using?

submitted by /u/davidbarman
[link] [comments]

Access custom product attribute in grouped.html

I am trying to customize the grouped.html

I have placed a copy of the original file in the theme folder.

I am trying to access a custom product attribute. The name of the attribute is:

use_as_list_subheading

code fragment:

<tbody> <?php foreach ($_associatedProducts as $_item) : ?> <tr> 

in the loop I want to access the $_item which should be the list of items associated in the group product. I want to use the value of the yes/no attribute (use_as_list_subheading).

I am not sure if I am accessing it correctly since an IF statement using the attribute never returns true.

$_item->getUseAsListSubheading()

is what I am trying to use.

Am I trying to access the value of the custom attribute incorrectly?

Any help with the syntax would be appreciated.

My ultimate goal is if the attribute is true, I want to add style the <tr> so I can change its background color and the font color in each of the <td> in the row.

submitted by /u/davidbarman
[link] [comments]

403 error on data import?

Hello everyone, I am working on a Magento 2 site for a client. We recently had an issue with spam accounts flooding the /customer endpoints, so we enabled an IP-based region blocking plugin to stop people from a certain area from registering accounts. This plugin has since been removed from the staging site, but is still enabled on the live site.

Ever since this happened, we have been unable to upload data files. Even using Magento’s sample files returns a 403 forbidden error in the dev tools, but the page content never changes or redirects to anything. We attempt to upload any file, and the request returns a 403 error and then that’s it. No errors in any Magento logs, nothing else to go off of other than the dev tools request response. Even after removing the previously mentioned plugin from the staging site, the issue persists there as well.

The only exception to this is if we remove most of the product data and only attempt to upload ONE individual product sku. This isn’t useful to us as there’s no way to turn this into a workaround, but it might be contextually important to someone who knows more than me.

Admin privileges are correct to allow for data uploads, file and folder permissions are set correctly, and we are hosting through AWS. We’ve uploaded hundreds of data files up until a month ago, when this started seemingly out of the blue.

Any insights or suggestions? Thanks in advance.

submitted by /u/khalkhalash
[link] [comments]