WordPress.org

Ready to get started?Download WordPress

Forums

404 Silent Salesman
[resolved] Fatal error when save option (3 posts)

  1. AMBA
    Member
    Posted 1 year ago #

    hi i just install your plugin 404 silent salesman
    no problem when activate it
    but when i configure and save here is the error message :
    Fatal error: Call to a member function get_page_permastruct() on a non-object in /home/cognacs/www/wp-includes/link-template.php on line 271
    i use wp 3.5.1
    best regards
    Amba

    http://wordpress.org/extend/plugins/404-silent-salesman/

  2. AMBA
    Member
    Posted 1 year ago #

    i found the solution here :
    http://c.onfigs.com/php/error-get-page-permastructin-link-template-solved/
    you have to add this code in your script :

    if ($wp_query->is_404) {
    $wp_rewrite = new WP_Rewrite();

    best regards

  3. Jeremiah
    Member
    Plugin Author

    Posted 1 year ago #

    Hi AMBA,

    I'm sorry I didn't see this earlier. Thank you for posting the solution as well. I've been pretty busy with http://wordpress.org/extend/plugins/woocommerce-menu-bar-cart/ and haven't done any updates since it was released.

    I'm very interested in expanding this plugin as I've been using it on my site with phenomenal results. Do you use WooCommerce? What do you think of the plugin so far and what would you like to see added to it?

    Thanks!

    Jeremiah

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.