• Resolved oise73

    (@oise73)


    Hi there,

    I have my main site and a bunch of demo sites that live in the same hosting and all run WordPress. The themes are various StudioPress ones. Only one of my demo sites has been updated to 3.8 thus far; the rest are 3.7.1. All of them are using Genesis 2.0.1 and everything was working great until I had my sites moved to a new host who is using PHP 5.4.20. Now I am having problems with accessing the simple sidebars in Widgets. Here are a couple of screenshots:

    WP:3.7.1: https://screencast.com/t/0zGsUU8let These I can still click to open.

    WP 3.8: https://screencast.com/t/vtYef9LAhTb0 These I can’t open at all!

    Reading through other posts, I see you asked about the wp-config.php file. This is what I have:
    define(‘WP_DEBUG’, false);

    Help! Thanks!

    Suzy

    https://www.ads-software.com/plugins/genesis-simple-sidebars/

Viewing 15 replies - 16 through 30 (of 31 total)
  • @pensacoladisability – Put in a ticket with Websynthesis support.

    @oise73 – so far we have not identified a problem with Simple Sidebars. Several people have described symptoms they are having. Looking at your screen shot – have you checked your browser console to see if you have a script error in the widgets screen?

    Also, the code removed by @tami is a check to ensure you are running Genesis 2.0.X. It won’t let you activate SS if you have an older version. If you have the latest version of Genesis installed then removing it won’t help.

    Looks like it my have been my child theme which is a custom theme from web-savvy-marketing:

    “It’s actually the child theme.

    Both the default sidebars are unregistered in the functions.php file.

    unregister_sidebar(‘sidebar’);
    unregister_sidebar(‘sidebar-alt’);

    Simple sidebars only works with those sidebars so if they are unregistered, nothing will appear in the sidebar selection on posts or pages.”

    I deleted the two “unregister” lines above from my functions.php file and the Simple Sidebars plugin is working again with drop downs!

    Ron – I’m pretty certain that I’ve identified the issue. In inpost.php line 38 and 53 –
    printf( '<option value="%s" %s>%s</option>', esc_html( $id ), selected( $id, genesis_get_custom_field( '_ss_sidebar_alt' ), false ), esc_html( $info['name'] ) );
    throws an illegal string offset error in the latest versions of PHP… and so the name of the sidebar isn’t printed. From my limited PHP knowledge, it seems that one of these variables is a string rather than an array.

    Thread Starter oise73

    (@oise73)

    Hi Ron,

    I am not 100% of what you are asking, so I took a guess and a couple of screenshots. Using Chrome, I looked at my main site and the one old demo site that I upgraded to 3.8 and (I think!) used the inspector (on a Mac – option/command/i) and clicked on the Console tab. Here’s what I saw:

    My main site (WP 3.7.1):
    https://screencast.com/t/R92w3gMB6

    Old demo site (WP 3.8):
    https://screencast.com/t/wDeehI04S

    Is this what you are talking about? If it is, where do I go to fix it and what is the correct code?

    thanks!

    Yes, that’s what I meant. The event.preventDefault warning comes from core WP. It’s a warning so it doesn’t prevent javascript from continuing to run.

    What child theme are you using?

    Thread Starter oise73

    (@oise73)

    For my main site :Agency 1.0
    For the old demo site: Agency 2.0

    Here’s what is currently on the other old demo sites:

    Executive 2.0
    Agency 2.0
    ClipCart 1.3.2

    **********
    Just for the heck of it, I went and uploaded the latest Agency theme, Agency Pro on one of the old demos sites and the sidebars still aren’t showing up.

    @oise73 – Can you visit the widgets screen then check your server error log for errors?

    Thread Starter oise73

    (@oise73)

    Hi Ron,

    Here’s a screenshot of one of my old test sites showing the browser console. It’s the site that is now running 3.8 and the new Agency Pro theme. You will see the simple sidebars as dark grey lines up in the right side:

    https://screencast.com/t/sRygjhfYsA4

    BUT, here’s a screenshot on one of my brand-new demo sites that I created last week. It is running 3.8 and is also using the Agency Pro theme. Its simple sidebars are fine:

    https://screencast.com/t/kNrKT1gk0

    Hope this helps! Thanks!

    Those are the browser errors. I wanted you to check your SERVER error logs (in your web hosting control panel).

    Can you put in a support ticket at https://my.studiopress.com/ with a link to this thread and provide administrator login details for your install?

    Thread Starter oise73

    (@oise73)

    Whoops! Sorry!

    Sent off a support ticket. Thanks!

    oise73 – Ron seems to be ignoring my posting of the server errors I receive (which from the sound of things will be the exact errors you find). If your issue is resolved, please post the fix here! Thanks!

    @jdjenkins – you do not have the same issue as @oise73.

    inpost.php is not used on the widget screen. It’s used in the post editor. The issue in your case is this one – https://github.com/copyblogger/genesis-simple-sidebars/pull/6. It’s a warning & does not prevent the plugin from working.

    Ron –

    Thanks for the response. My symptoms are the EXACT same as oise73.
    And my server error log presents these errors ->
    PHP Warning: Illegal string offset ‘name’ in ***/wp-content/plugins/genesis-simple-sidebars/includes/inpost.php on line 38
    PHP Warning: Illegal string offset ‘name’ in ****/wp-content/plugins/genesis-simple-sidebars/includes/inpost.php on line 53

    Not those errors in the git issue you have linked.

    The update to WordPress 3.8 – and the subsequent interface changes in the widgets screen – have made existing simple sidebars unclickable. I can change the css to remedy this, but it doesn’t fix the real issue. The names of the existing sidebars are not being printed and were not being printed prior to 3.8 update.

    The same missing name or id of sidebars appears in the Simple Sidebars admin screen.

    The same symptoms does NOT mean that you have the same problem. This is just one reason why the Forum_Welcome specifically asks people to please post their own topic.

    Plugin Support Andrea Rennick

    (@andrea_r)

    oise73 – Ron seems to be ignoring my posting of the server errors I receive (which from the sound of things will be the exact errors you find). If your issue is resolved, please post the fix here! Thanks!

    She deleted the plugin options from the database.

    And as Esmi said – please post a new thread for your issue.

Viewing 15 replies - 16 through 30 (of 31 total)
  • The topic ‘Can no longer access Simple Sidebars’ is closed to new replies.