Liquid error : product form must be given a product

Topic summary

A user encountered a “Liquid error: product form must be given a product” error after importing and modifying a product. The product displays correctly on the PageFly editor and collections page but fails to load on the product page itself.

Troubleshooting Steps Provided:

  • Check the PageFly template being used by the problematic page
  • Review template settings and content for issues
  • Inspect the pf-14521944.liquid file at line 48
  • Capture screenshots of any errors for further analysis

Current Status:
The issue resolved itself spontaneously without manual intervention. The user agreed to follow the diagnostic steps and provide screenshots if the error recurs. No permanent fix has been identified yet, leaving the root cause unclear.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

I automatically pulled my product from a site to my site. After making a few changes to it, it gave me this error and I can no longer view my product. Also, the product is visible on the Pagefly edit page and on the collections page, only not on the product page.

Thank you for your help in advance…

Hello @Errayne I think you should have a look at the comment marked as a solution here https://community.shopify.com/c/shopify-apps/liquid-error-product-form-must-be-given-a-product/td-p/761456 and see if it applies to your current scenario

Yes, I looked at the solution there and understood it, but now I can’t fix it manually. I don’t know how to fix the mentioned code?

HI @Errayne

You’re using the PageFly app. Please follow these steps:

  1. Check which template the problematic page is using in PageFly.
  2. Review the settings and content within that template to identify any issues.
  3. Alternatively, inspect the pf-14521944.liquid file and navigate to line 48.
  4. Take a screenshot of the error so I can help analyze the problem further.

Best,

Daisy

HI @DaisyVo

First of all, thank you for your answer,

I don’t know how it happened, but suddenly the problem was solved and returned to its previous state.

If it happens again, I will do what you wrote.

Apart from this, do you have any suggestions that I can permanently remove the problem?I would be happy if you share them.

HI @Errayne

Could you please follow the guide I sent above and share with me the screenshot of the problem once it happens so I can take a look

Best,

Daisy

HI @DaisyVo

Of course, if a problem occurs, I will follow the steps and share them.