Search for answers:
The OptimizePress Support Site Has Moved: Click here to access the new Support site

Notice: Use of undefined constant OP_SN

If you see a message like this after installing OptimizePress:

Notice: Use of undefined constant OP_SN - assumed 'OP_SN' in ... /wp-content/plugins/optimizePressPlugin/lib/framework.php on line 494

Notice: Use of undefined constant OP_SN - assumed 'OP_SN' in ... /wp-content/plugins/optimizePressPlugin/lib/framework.php on line 495

How to fix:

Normally in cases like this is caused by having debug turned on in WordPress. As this is a php notice, it is not effecting any OptimizePress functions, however the reason it shows at the top of your site may be due to havnig wp-debug turned on.

This would be in your wp-config.php file.

See here for how to turn this off:

Basically look for this: define( 'WP_DEBUG', true ); 

and CHANGE it to this: define( 'WP_DEBUG', false );

Didn't find an answer to your question? Contact Our Support Team (Submit a ticket)
Was this article helpful?
1 out of 1 found this helpful


Other Help Categories:

Get Started Guide

Watch our Ultimate Getting Started guide video

Pre-Sales Questions

Ask questions before purchasing our products

Login Problems

If you're having issues logging into our members hub

Accounts & Billing

Update your billing, request a refund and other accounts help

API Key Issues

Get help with licensing your site and API key issues

Membership Help

Get help creating Membership portals and courses

LiveEditor Help

If you need help using or troubleshooting the LiveEditor


Find out about the many integrations possible with OptimizePress

Affiliate Questions

Have questions about promoting OptimizePress

Clubhouse Questions

Questions about our Clubhouse Membership Subscription