• Not sure if it is a plugin or theme (Avada) update or the latest update to WP (4.9.4), but the positioning setting is no longer working. When set to manual it shows up above the content, when set to above or below, it shows up twice (two above or above and below). I am trying to determine where the conflict is and was wondering what function, css, or js handles the positioning?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter evetsreklaw

    (@evetsreklaw)

    After additional testing (removed all plugins), this appears to be directly related to PHP 7.1+. Any plans to fix this?

    • This reply was modified 6 years, 9 months ago by evetsreklaw. Reason: Additional PHP testing

    It’s a simple programming error, and here’s the fix: in the file includes/shortcodes.php, add this line

    if ( ! is_array( $args ) ) $args = array();

    This goes on line 65, before these lines:

    // we have to force return in shortcodes
    $args['echo'] = 0;

    That should fix the problem. Hopefully the plugin developers will include this fix in the next version.

    Thread Starter evetsreklaw

    (@evetsreklaw)

    Mikko,

    Thank you very much. Worked like a charm.

    Steve

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Positioning Broken’ is closed to new replies.