• Resolved Navidv

    (@navidv)


    Hi there,

    I’m using the latest version of your plugin 9.3.2 and latest wp version 4.7.2

    When activating your plugin I get the following errors in phperror log, as well as over all pages/wp backend depending on what other plugins are activated.

    When all plugins (including yours) is activated I cannot login into wp-admin (white screen) – but frontend everything works fine.

    This is first time I encounter this kind of problem so I’m not sure what the next step would be. I use Siteground as my webhost. I recently moved my site from another to Siteground and this issue came up – if you believe this error might be server related let me know so I can inform Siteground aswell.

    PHP Warning: Cannot modify header information - headers already sent by (output started at /home/diamon75/diamondsweden.se/wp-content/plugins/nextend-accordion-menu/nextend/plugin/plugin.php:65) in /home/diamon75/diamondsweden.se/wp-content/plugins/wordfence/lib/wfUtils.php on line 1111

    [01-Mar-2017 19:52:05 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/diamon75/diamondsweden.se/wp-content/plugins/nextend-accordion-menu/nextend/plugin/plugin.php:65) in /home/diamon75/diamondsweden.se/wp-content/plugins/sg-cachepress/class-sg-cachepress.php on line 338

    Please let me know if you need anything else to resolve this issue.
    Thank you, appreciate the help and awaiting your response.

    • This topic was modified 7 years, 9 months ago by Navidv. Reason: Tidy up code
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Ramona

    (@nextend_ramona)

    Hi

    I haven’t really seen this problem before. I tried to check the 65th line of the said file (wp-content/plugins/nextend-accordion-menu/nextend/plugin/plugin.php) but it’s only 33 lines for me.

    Could you please open up the (wp-content/plugins/nextend-accordion-menu/nextend/plugin/plugin.php) to see what is written to the 65th line?
    If it would be a simple empty line, or if you would see an empty line after the closing PHP tag
    ?>
    please remove the line(s).

    Thread Starter Navidv

    (@navidv)

    Hi Ramona,

    On line 65 was just a few line breaks/space, deleted a few/moved the lines up and at the very end of the file after ?> was two empty lines as well which I removed (I use notpad++ so I basically tidy’ed up – I’m not sure if those empty lines were the problem but trying to activate the plugin gave no errors (previously the plugin would get activated but with a white screen).

    Once the plugin got activated, the errors below showed in the place of where the menu/plugin is. (but a simple refresh showed the plugin correctly)

    I’ve added the error code below if it has any meaning/value for you.

    
    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; NextendMenu has a deprecated constructor in /home/diamon75/diamondsweden.se/wp-content/plugins/nextend-accordion-menu/library/accordionmenu/menu.php on line 5
    
    
    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; NextendTreebase has a deprecated constructor in /home/diamon75/diamondsweden.se/wp-content/plugins/nextend-accordion-menu/library/accordionmenu/treebase.php on line 9
    

    Thank you for your time and help Ramona, and take care

    Thread Starter Navidv

    (@navidv)

    When viewing single product, the following error has appeared – guess i’m not done 🙂

    Notice: woocommerce_recently_viewed cookie cannot be set - headers already sent by /home/diamon75/diamondsweden.se/wp-content/plugins/nextend-accordion-menu/shortcode.php on line 49 in /home/diamon75/diamondsweden.se/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 733

    Thread Starter Navidv

    (@navidv)

    a side note, I’ve disabled the plugin once again as I noticed products were unable to be added to the woocommerce cart (basically cookies were not able to be set i’m guessing).

    Plugin Author Ramona

    (@nextend_ramona)

    Hi @navidv

    For the new “headers already sent by” message, please check again if there is any empty line after the ?> sign.

    For the two deprecated method warning, that is happening on PHP 7. (It looks like we haven’t pushed out the PHP 7 compatibility update yet – I’m sorry for the trouble.) We’ll push it out very soon, probably today.

    Until the update, you could make the errors disappear by opening up the files and adjusting the function names. There will be a function like this:
    function NextendMenu($path) {
    please replace the NextendMenu width __construct:
    function __construct($path) {

    Plugin Author Ramona

    (@nextend_ramona)

    Hi @navidv

    The new version is now available, so you can update the menu from your WordPress backend 🙂

    Thread Starter Navidv

    (@navidv)

    Hi Ramona, yes! Noticed and it seems to be working fine 😀 thank you once again!

    Plugin Author Ramona

    (@nextend_ramona)

    Hi @navidv

    Wonderful! 🙂 I’m glad to hear the problems are solved.

    By the way I checked your site and I really liked it. It’s nice and clean. Great job there 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘wp-admin white screen / plugin conflicts’ is closed to new replies.