PHP Notice When Debugging is on - Line 766 Error Fix Optimizing All in One SEO Pack Forum

The support forums have a new home! Please visit All in One SEO Pack's new residence at Semper Plugins to purchase a support plan.

Please consider registering
guest

Log In

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
PHP Notice When Debugging is on - Line 766 Error Fix
November 22, 2010
6:29 am
luke
New Member
Forum Posts: 2
Member Since:
November 22, 2010
Offline

Hello,

I use the All In One SEO pack often and always come across the same problem on line 766 of all_in_one_seo_pack.php in ./wp-content/plugins/all-in-one-seo-pack/

The code originally looks like this:

if( ($_POST['aiosp_enabled'] == null && $aioseop_options['aiosp_enabled']!='1') || $_POST['aiosp_enabled']=='0'){

But it needs to be:

if( (!isset($_POST['aiosp_enabled']) && $aioseop_options['aiosp_enabled']!='1') || (isset($_POST['aiosp_enabled']) && $_POST['aiosp_enabled']=='0')){

November 28, 2010
11:57 pm
WordPress Professional
Admin
Forum Posts: 442
Member Since:
October 14, 2008
Offline

You must be a subscriber to view administrator posts. Click here to purchase a support subscription.

For what shall it profit a man if he shall gain the whole world and lose his own soul
January 21, 2011
4:50 am
luke
New Member
Forum Posts: 2
Member Since:
November 22, 2010
Offline
3
Awaiting Moderation

Forum Timezone: America/New_York

Most Users Ever Online: 205

Currently Online:
32 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

romiojuliat: 102

yaoming987: 50

jintuy: 50

miki1986: 33

newshow: 28

karen1234: 27

Member Stats:

Guest Posters: 0

Members: 6356

Moderators: 3

Admins: 4

Forum Stats:

Groups: 5

Forums: 23

Topics: 1546

Posts: 3450

Newest Members: carofern@cisco.com, pronto, jessie, pbaylies, ninaeast, freda

Moderators: davecashmore (2), aaron (5), tempadmin (0)

Administrators: WordPress Professional (442), hallsofmontezuma (202), onefinejay (10), stevemortiboy (4)