CF_PAGES_URL var is the default .pages.dev one, if you plan on using a custom domain it's better to define your one env to specify it.dev.vars file: next dev?wrangler.toml?env, do you see anything, or is it undefined?wrangler dev session for class "Lock" to proxy towrangler.toml configuration file to customize the development and deployment setup for your Worker project and other Developer Platform …

wrangler to 3.34.2 to fix
name = "sellhub-checkout"
compatibility_date = "2024-04-05"
compatibility_flags = ["nodejs_compat"]
[[services]]
binding = "WORKER"
service = "sellhub-checkout-cron"
# Bind a Durable Object. Durable objects are a scale-to-zero compute primitive based on the actor model.
# Durable Objects can live for as long as needed. Use these when you need a long-running "server", such as in realtime apps.
# Docs: https://developers.cloudflare.com/workers/runtime-apis/durable-objects
[[durable_objects.bindings]]
name = "LOCK"
class_name = "Lock"
script_name = 'sellhub-checkout-cron'