• Resolved grahambudd

    (@grahambudd)


    Under the new 4.x version I’m testing out the robots.txt editor. I can make updates in the new interface and it looks great, but saving them does nothing. Refreshing the page or viewing the robots.txt path directly and I see the default content, not the new ones I’ve added.

    I’m assuming this is a database write failure, but I’m not seeing any errors in the logging.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @grahambudd,

    Do you see any console errors (F12) in your browser after saving the changes you’ve made?

    – Arnaud

    Thread Starter grahambudd

    (@grahambudd)

    @arnaudbroes , no there are no console errors. I do see some error log errors, which may be related. Nothing that specifically appears to be the write from this robots.txt save process, but things which may be triggered by other parts of the plugin and are preventing the save from happening later.

    It is possible this bug is related to the other errors I’ve reported here with incorrect bool to empty string write errors.

    When I hit save on the robots.txt admin page, I see these errors in the log:

    
    [05-Jan-2021 13:40:31 UTC] PHP Notice:  Undefined property: AIOSEO\Plugin\Common\Models\Notification::$id in /var/www/html/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 362
    [05-Jan-2021 13:40:32 UTC] WordPress database error Incorrect integer value: '' for column <code>site-2019</code>.<code>fb_aioseo_notifications</code>.<code>dismissed</code> at row 1 for query INSERT INTO fb_aioseo_notifications
    SET <code>slug</code> = '5ff46c508ae80', <code>title</code> = 'Physical Robots.txt File Detected', <code>content</code> = 'AIOSEO has detected a physical robots.txt file in the root folder of your WordPress installation. We recommend removing this file as it could cause conflicts with WordPress\' dynamically generated one. AIOSEO can import this file and delete it, or you can simply delete it.', <code>type</code> = 'error', <code>level</code> = '[\"all\"]', <code>notification_id</code> = NULL, <code>notification_name</code> = 'robots-physical-file', <code>start</code> = '2021-01-05 13:40:32', <code>end</code> = NULL, <code>button1_label</code> = 'Import and Delete', <code>button1_action</code> = 'https://action#tools/import-robots-txt?redirect=aioseo-tools', <code>button2_label</code> = 'Delete', <code>button2_action</code> = 'https://action#tools/delete-robots-txt?redirect=aioseo-tools', <code>dismissed</code> = '', <code>created</code> = '2021-01-05 13:40:32', <code>updated</code> = '2021-01-05 13:40:32'
    /* 1 = 1 */ made by AIOSEO\Plugin\Common\Utils\Database::run
    [05-Jan-2021 13:40:32 UTC] PHP Notice:  Undefined property: AIOSEO\Plugin\Common\Models\Notification::$id in /var/www/html/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Model.php on line 362
    
    Plugin Author arnaudbroes

    (@arnaudbroes)

    Would you mind reaching out to us here – https://aioseo.com/contact/? Click the “Complete a Form” button on that page. We’d love to get this sorted for you.

    – Arnaud

    Thread Starter grahambudd

    (@grahambudd)

    @arnaudbroes certainly, I’ve reached out there and look forward to working through the items with you.

    -Graham

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘robots.txt doesn’t work’ is closed to new replies.