Sometimes I get this error:

PHP Deprecated: Required parameter $form_state follows optional parameter $options in /modules/contrib/shopify/src/Form/ShopifyVariantOptionsForm.php on line 100

CommentFileSizeAuthor
#2 issue-3306155.patch1.39 KBlobodakyrylo

Issue fork shopify-3306155

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lobodacyril created an issue. See original summary.

lobodakyrylo’s picture

StatusFileSize
new1.39 KB

This patch works for me.

nathankg’s picture

https://www.drupal.org/files/issues/2022-08-26/issue-3306155.patch
I have tested this patch and it works as expected, this provides a fix for those php 8.0+.

nathankg’s picture

Assigned: Unassigned » nathankg
Status: Needs work » Reviewed & tested by the community

https://www.drupal.org/files/issues/2022-08-26/issue-3306155.patch
I have tested this patch and it works as expected, this provides a fix for those php 8.0+.

emersonreis.dev made their first commit to this issue’s fork.

emersonreis.dev’s picture

The target file was removed as part of the work from https://www.drupal.org/project/shopify/issues/3188753

But I'll release an alpha7 version for this change.

  • emersonreis.dev committed 24fcf474 on 8.x-1.x-alpha
    fix: #3306155 PHP Deprecated: Required parameter $form_state follows...
emersonreis.dev’s picture

Assigned: emersonreis.dev » Unassigned
Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.