• Resolved vixxon

    (@vixxon)


    As soon as i try : Version:?2.6.14

    Site goes into maintanance mode, get a critical php error . Than i have to phpmyadmin , turn off the plugin and the website goes back online again. But as soon as i turn on auto-listings, site goes offline again. So i tried that version on my local verison of wordpress and also recived a error.

    Is it possible there was a bad upgrade that went out 9h ago ?

    Kind regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • This is the new error:

    An error of type E_PARSE was caused in line 216 of the file /path/to/www/wp-content/plugins/auto-listings/vendor/meta-box/mb-frontend-submission/src/DashboardRenderer.php. Error message: syntax error, unexpected '->' (T_OBJECT_OPERATOR)

    I commented out this line (which is line 216) and was able to restore functionality

                                                <td><?= esc_html( $model?->$column ); ?></td>
    • This reply was modified 6 days, 23 hours ago by harmgsn.
    • This reply was modified 6 days, 23 hours ago by harmgsn. Reason: add more details and a workaround

    Update: Doing this will break your listings. You’ll see them on the main page, but when you click more details on any of them it’ll throw a “Not Found” in WordPress.

    Change line 216 to this:

                                                <td><?= esc_html( model::column() ); ?></td>

    Then go into admin panel and navigate to “Settings” and “Permalinks” – change this option to ‘Post Name’ and your site should return to normal.

    Thread Starter vixxon

    (@vixxon)

    Thank you !! ??

    I will have to try it on my localhost.

    For the client i did a reroll to 2.6.15 and everything went back to normal.

    Kind regards and thanks for the help !!

    • This reply was modified 6 days, 16 hours ago by vixxon.
    Plugin Author Anh Tran

    (@rilwis)

    I’ve just updated the plugin to fix this issue. Please update.

    Hello,

    It works for me just with

    ““Settings” and “Permalinks” – change this option to ‘Post Name’”

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.