• Resolved masonjo

    (@masonjo)


    My hosting is asking me to upgrade php 5.6. They ask me to run a compatability checker. I came up with some warnings and errors for WP RSS Aggregator. Feed to post however was clean. Here is what it shows me:

    FILE: /wp-content/plugins/wp-rss-aggregator/includes/opml-importer.php
    —————————————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————————————————
    48 | WARNING | Method name “WPRSS_OPML_Importer::__contruct” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    —————————————————————————————————————————————————————

    FILE: /wp-content/plugins/wp-rss-aggregator/includes/Aventura/Wprss/Core/Model/ModelInterface.php
    ————————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————————–
    19 | WARNING | Method name “ModelInterface::__” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ————————————————————————————————————————————————–

    FILE: /wp-content/plugins/wp-rss-aggregator/includes/Aventura/Wprss/Core/Model/ModelAbstract.php
    ————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————————-
    41 | WARNING | Method name “ModelAbstract::__” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ————————————————————————————————————————————————-

    FILE: /wp-content/plugins/wp-rss-aggregator/includes/Aventura/Wprss/Core/DataObject.php
    ——————————————————————————————————————————————————
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    ——————————————————————————————————————————————————
    387 | WARNING | Method name “DataObject::__toArray” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    443 | WARNING | Method name “DataObject::__toXml” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    488 | WARNING | Method name “DataObject::__toJson” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ——————————————————————————————————————————————————

    FILE: /wp-content/plugins/wp-rss-aggregator/includes/libraries/php-markdown/markdown.php
    ——————————————————————————————————————–
    FOUND 2 ERRORS AFFECTING 2 LINES
    ——————————————————————————————————————–
    2271 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    2277 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4
    ——————————————————————————————————————–

    FILE: /wp-content/plugins/wp-rss-aggregator/includes/feed-access.php
    ————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————–
    411 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    ————————————————————————————————–

    FILE: /wp-content/plugins/wp-rss-aggregator/includes/system-info.php
    ————————————————————————————————–
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    ————————————————————————————————–
    81 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    244 | WARNING | Extension ‘mysql_’ is deprecated since PHP 5.5 – use mysqli instead.
    246 | WARNING | Extension ‘mysql_’ is deprecated since PHP 5.5 – use mysqli instead.
    ————————————————————————————————–

    FILE: /wp-content/plugins/wp-rss-aggregator/includes/admin-help.php
    ———————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————–
    609 | WARNING | Method name “WPRSS_Help::__” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ———————————————————————————————————————————————–

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @masonjo,

    Thanks for your report.

    We’re looking into this and have also worked on the PHP 7 compatibility issue as well. It hasn’t been done yet and without a doubt, planned for a future update.

    In the meantime, we have seen that our plugins can run on some of our customers which have PHP 5.5 and above without their functionalities are being affected. Should your host decided to upgrade to PHP 5.6 or above and you have any issues regarding the works of our plugins, please don’t hesitate to let us know.

    Since you are using our premium add-ons, you can also open a premium support ticket for that.

    Thanks again for taking the time to report this issue to us. We appreciate all your feedback.

    Thread Starter masonjo

    (@masonjo)

    Actually I think I am going to move straight to php 7.

    I am in the same boat. Dreamhost forced us all up to 5.6 with no recourse. Now the RSS Aggregator plugin is making a hash of the site. I only need the very simplified list version of the Simple Feeds Bundle. Any timeline on 5.6 compatibility?

    Hi @masonjo,

    That is very understandable. Please go ahead and let us know if you have any problem with that.

    Hi @icandyapple,

    Can you please elaborate more on what makes you think WP RSS Aggregator making a hash of the site? If you have questions about our Simple Feeds Bundle or any of our add-ons, you can open a pre-sales ticket.

    With regards to PHP 5.6 and 7 compatibilities, we’ve started some testing but haven’t covered every aspect. We do not yet have a date for when this will be completed.

    With the most recent version of RSS Aggregator installed on our WordPress site, running PHP 5.6 we experience the following issues:
    -When I edit a post or page and try to “Add Media” but the media library will not load. If I upload an image, the image will not appear in the page or post. It acts as if I did not make any change at all.
    -Other plugin updates error out, particularly jetpack.
    -Backups through updraft plus will not run.
    -The site loads extremely slowly.
    -Server 500 errors with every 3rd page load or so.
    -A directory plugin that we use could not load at all. It is a core feature of the website, so doing without it is not an option.

    If I disable RSS Aggregator – *all* of the problems go away.

    Troubleshooting:
    I disabled all plugins and re-enabled them one by one, testing paged/media editing and a few other things as I went. This allowed me to narrow it down to RSS Aggregator.

    Knowing Jetpack to be buggy and deciding we could do without it, I removed Jetpack and RSS Aggregator completely, waited 24 hours for server caches to clear. Then I did a fresh install of RSS Aggregator and the problems all came back.

    Since I have a very basic need to scroll linked article titles from an RSS feed, I have figured out a javascript solution as an alternative to your plugin. So, I do not need to open a ticket at this time.

    Nonetheless, I thought you should know that in our case (our host is DreamHost) the PHP compatibility issue was causing major problems and I could not revert to PHP 5.5 on this host. They only offer 5.6 and 7 at this time.

    The problems were so strange and site-wide that for the longest time I was convinced that it could not possibly be caused by RSS Aggregator, but I was wrong.

    Hi @icandyapple,

    Sorry for the delayed response.

    To be honest, it’s the first time we have this report where user experienced such an issue with PHP 5.6. We haven’t heard any other case similar to this nor we can reproduce it on our end, so we’re really not sure what needs to be fixed or what solution we could offer to you regarding this issue.

    Is it possible that perhaps your host has also upgraded or changed any other parts of your hosting environment such as upgrading, enabling/disabling certain libraries, memory limit, etc. beside the PHP version? That might also affect the performance of your site and particularly our plugins. Have you tried to confirm this with your host?

    Nevertheless, we have passed also your issue here to our developers and we’ll look into it. Should we need more information from you, we’ll let you know.

    Thanks again for taking the time to report this and we’re sorry for all the inconvenience.

    Hi @masonjo, @icandyapple, and all those who happen to arrive at here,

    We’d like to inform you that we have run tests for the current version of WP RSS Aggregator (4.11.1) on PHP 5.6 and 7.x.

    So far, we have found no major compatibility issues. There are no major plugin breaking issues and no visible breakages to the functionality with both PHP 5.6 and 7.x

    However, should you encounter one while setting up or using our Core plugin in the said platforms, we welcome any feedback you may have.

    Thanks again for staying with us and always using the latest version of WP RSS Aggregator. Please don’t hesitate to reach out to us if you need any assistance.

    My website host upgraded to 5.6 in March and ever since I have had these messages on the top of my site. The host says that the WordPress package I have is not compatible with 5.6 as they can’t fix the problem. I have showed it to another hosting service and they have the same issue. I am new to WordPress as I didn’t design our own site but not sure where to go from here.

    any ideas?

    Notice: get_theme_data is deprecated since version 3.4! Use wp_get_theme() instead. in /services/webpages/util/5/4/54cwbr74.myutilitydomain.com/video1hd.net/public/wp-includes/functions.php on line 3123

    Strict Standards: Declaration of avia_walker::start_lvl() should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array) in /services/webpages/util/5/4/54cwbr74.myutilitydomain.com/video1hd.net/public/wp-content/themes/corona/framework/php/class-megamenu.php on line 121

    Strict Standards: Declaration of avia_walker::end_lvl() should be compatible with Walker::end_lvl(&$output, $depth = 0, $args = Array) in /services/webpages/util/5/4/54cwbr74.myutilitydomain.com/video1hd.net/public/wp-content/themes/corona/framework/php/class-megamenu.php on line 121

    Strict Standards: Declaration of avia_walker::start_el() should be compatible with Walker::start_el(&$output, $object, $depth = 0, $args = Array, $current_object_id = 0) in /services/webpages/util/5/4/54cwbr74.myutilitydomain.com/video1hd.net/public/wp-content/themes/corona/framework/php/class-megamenu.php on line 121

    Strict Standards: Declaration of avia_walker::end_el() should be compatible with Walker::end_el(&$output, $object, $depth = 0, $args = Array) in /services/webpages/util/5/4/54cwbr74.myutilitydomain.com/video1hd.net/public/wp-content/themes/corona/framework/php/class-megamenu.php on line 121

    Strict Standards: Declaration of avia_backend_walker::start_lvl() should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in /services/webpages/util/5/4/54cwbr74.myutilitydomain.com/video1hd.net/public/wp-content/themes/corona/framework/php/class-megamenu.php on line 331

    Strict Standards: Declaration of avia_backend_walker::end_lvl() should be compatible with Walker_Nav_Menu::end_lvl(&$output, $depth = 0, $args = Array) in /services/webpages/util/5/4/54cwbr74.myutilitydomain.com/video1hd.net/public/wp-content/themes/corona/framework/php/class-megamenu.php on line 331

    Strict Standards: Declaration of avia_backend_walker::start_el() should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /services/webpages/util/5/4/54cwbr74.myutilitydomain.com/video1hd.net/public/wp-content/themes/corona/framework/php/class-megamenu.php on line 331

    Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /services/webpages/util/5/4/54cwbr74.myutilitydomain.com/video1hd.net/public/wp-includes/functions.php on line 3290

    Strict Standards: Declaration of avia_description_walker::start_el() should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /services/webpages/util/5/4/54cwbr74.myutilitydomain.com/video1hd.net/public/wp-content/themes/corona/includes/admin/register-menu-walker.php on line 0
    HomeContact

    Hi @holterhaus,

    Looking at the list of your error/warning messages here, it would seem that the problem might come from your theme instead.

    See one sample here:

    /services/webpages/util/5/4/54cwbr74.myutilitydomain.com/video1hd.net/public/wp-content/themes/corona/includes/admin/register-menu-walker.php on line 0
    HomeContact

    with particularly this part: ../wp-content/themes/corona/..

    It would mean that the error is coming from your ‘corona’ theme.

    You can try to switch your theme to a WordPress default theme (i.e. Twenty Seventeen) and see if the problem persists.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘PHP 5.6 Compatability’ is closed to new replies.