Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Where to Report Warnings And Notices
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Jun 30, 2015 - 10:53 am

Yellow Swordfish said
I reckon we would both like to know what is doing that though...

Agreed! I guess I was just saying I have the liberty of time, since there doesn't seem to be any major sense of urgency, just a nuisance.

Any suggestions other than standard WP troubleshooting protocol of ruling out theme and plugin conflicts? The debug code added to sp_control breaks the dashboard so that becomes a rather arduous task when deactivating and reactivating plugins.

Thanks again.

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Jun 30, 2015 - 1:38 pm

OK, for fun, I turned on the WP debug mode too and found the following upon (any) page load interesting...

Notice: Undefined variable: wp_query in /problem-with-post-edit-buttonome/triblogs/public_html/wp-content/plugins/simple-press/sp-control.php on line 98

 

NOTE: sp-control.php:96-100 includes the code I added:

# debug error
ashow(debug_backtrace());
ashow($wp_query); 
# end debug
function sp_is_forum_page() {

Back to troubleshooting plugin conflicts...just wanted to make sure I added the suggested debugging code correctly.

question

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Jun 30, 2015 - 1:58 pm

OK, wp_debug also indicates the following...

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /problem-with-post-edit-buttonome/triblogs/public_html/wp-content/plugins/simple-press/sp-startup/sp-load-debug.php:34) in /problem-with-post-edit-buttonome/triblogs/public_html/wp-content/plugins/pro-sites/pro-sites-files/lib/ProSites/Helper/Session.php on line 29

FYI: Pro Sites is the paid/premium blog platform for our multisite network, so we can't live without it on our live site. Deactivating Pro Sites did not address the empty wp_query in sp debug box that displays upon page load.

../plugins/pro-sites/pro-sites-files/lib/ProSites/Helper/Session.php:27-30:

            // Make sure session is started
            if ( ! session_id() ) {
                session_start();
            }

and...

Notice: Undefined variable: output in /problem-with-post-edit-buttonome/triblogs/public_html/wp-content/themes/forthecause/includes/theme-actions.php on line 649

../themes/forthecause/includes/theme-actions.php:646-650:

        if ( $settings['home_blog_img'] != '' ) {
            $blog_image = $settings['home_blog_img'];
            if ( is_ssl() ) { $blog_image = str_replace( 'http://', 'https://', $blog_image ); }
            $output .= '#blog-posts { background-image: url( ' . esc_url( $blog_image ) . ' ) !important; }' . "
";
        }

I suppose the latter suggests I should see what happens with another theme activated. But before I do that and start opening tickets with the other plugin/theme developers, I'd love to get a better understanding about what I'm looking at, or looking for...

Anything here suggest something interesting?

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 30, 2015 - 3:17 pm

Sorry =- in a rush so this is not a long answer to everything. A quickie instead. The headers already sent error you are seeing is because of the debug code - the ashow() - you put in place. You will need to remove that and use the wp_debug setting aftyer that...

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625