Support » Fixing WordPress » More problems with updating, or saving a draft

  • Resolved StevenDanielFuller

    (@stevendanielfuller)


    I already posted this, but the problem seems to be getting worse. Now when I try to update, or save a draft, in addition to receiving the following warning message, the formatting of my blog post is also being changed.

    Can this be fixed? Thanks.

    Warning: parse_url(http://) [function.parse-url]: Unable to parse URL in /home4/lbfb/public_html/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php on line 1157

    Warning: Cannot modify header information – headers already sent by (output started at /home4/lbfb/public_html/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php:1157) in /home4/lbfb/public_html/wp-admin/post.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /home4/lbfb/public_html/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php:1157) in /home4/lbfb/public_html/wp-includes/pluggable.php on line 1121

Viewing 11 replies - 1 through 11 (of 11 total)
  • pinokio

    (@lapanwebsite)

    Delete quick-pagepost-redirect-plugin

    Steven,
    Did you update to version 5.0.6? That has a fix in it for the plugin Warning messages.

    The warning should not be causing layout changes, unless it is displaying on the front end of the site, or if it is preventing special settings from saving.

    If you update to 5.0.6 and still have issues, clear any cache you may have (if using a caching plugin) and if it still happens, let us know.

    Regards,
    Don

    LapanWebsite –
    Telling someone to delete a plugin is not necessarily a solution to a problem, especially if they are using it for some form of functionality that they rely on.

    Offering helpful suggestions or a possible work around would be more helpful. I sure when you are looking for help, a comment like that is of no help to you. Be a little more respectful, please. If you know nothing about it, leave it alone and let someone else reply.

    Regards,
    Don

    pinokio

    (@lapanwebsite)

    Telling someone to delete a plugin is not necessarily a solution to a problem, especially if they are using it for some form of functionality that they rely on.

    He/She has “Plugins and Hacks” support.

    Offering helpful suggestions or a possible work around is on plugin author, in plugins support forum.

    It’s his/her decision will he/she ask for plugin support, after he/she knows that this plugin is creating errors.

    Then nicely tell them where to post their question so it will be answered for effectively. That is helpful.

    And I am the plugin author.

    pinokio

    (@lapanwebsite)

    Yeah, you’re right.
    But, people post so many questions, and all I do is to find shortest way to help.
    Luckily you read this out of plugins support forum, and gave better solution.

    LapanWebsite –
    Thanks for understanding.

    I fixed the problem in the plugin. Line 1157 is looking to parse_url($url) and the variable $url is empty on submissions not using the redirection. Tracing up through the function there is logic that is looking for check boxes to be populated to trigger the creation of the redirection. The variable $_POST[‘pprredirect_url’] does exist but is empty for normal submissions. By adding an extra condition that the $_POST[‘pprredirect_url’] must not be blank the routine will be skipped.

    Change line 1185 from :
    if(isset($_POST['pprredirect_active']) || isset($_POST['pprredirect_url']) || isset($_POST['pprredirect_type']) || isset($_POST['pprredirect_newwindow']) || isset($_POST['pprredirect_relnofollow']) ):

    To:
    if((isset($_POST['pprredirect_active']) || isset($_POST['pprredirect_url']) || isset($_POST['pprredirect_type']) || isset($_POST['pprredirect_newwindow']) || isset($_POST['pprredirect_relnofollow']) ) && $_POST['pprredirect_url'] != ''):

    This should already be fixed in version 5.0.6, so there should be no need to edit the plugin code.

    If you are using 5.0.6 and still getting the issue, please let me know.

    Regards,
    Don

    I am no longer having the issue. Thanks!

    Great – thanks for the update!

    Warm regards,
    Don

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘More problems with updating, or saving a draft’ is closed to new replies.