Updating plugin to Version: 6.0.24 breaks site
-
When I update the plugin I get white screen. I tried with standard theme Twenty Seventeen Version: 1.6 and plugins disabled also but no luck. Fortunately I have a backup of the plugin older version Version 5.9.7.3 whick still works because if not I lost all my data. Can you take a look at what is breaking the site?
The page I need help with: [log in to see the link]
-
I have now the old version Version 5.9.7.3 so that site is looking at good, but when I update site breaks
First off, that is an older version of 5.9. You can get the last version of 5.9 here:
https://downloads.www.ads-software.com/plugin/link-library.LinkLibrary_5.9.15.8.zip
Now, in order to resolve this issue, I would need you to run a few more tests. More specifically, I would need you to go into your wp-config.php file and activate the option called WP_DEBUG.
define('WP_DEBUG', true);
I would then need you to update to the latest version of 6.0.x and see what type of error messages are displayed instead of that white page and post these messages here.
If you are still not seeing anything on screen, check if you have another option called WP_DEBUG_DISPLAY defined, and make sure that is set to true as well.
What is likely happening is that you might be running an older version of PHP and hitting a line of code in an option that not a lot of users with similar older PHP versions have activated. At this point, 24% of Link Library users are running the latest version without any problem.
Once I know the error messages, I can quickly turnaround a fix. Thanks for your help n resolving this issue.
Which version of PHP does the new version work with, please? I have the same problem.
It should work in all versions of PHP that are supported by WordPress (5.2.4+). However, I do not easily have older versions of PHP at my disposal to test.
What I likely did is that I used a code structure that is not valid in older PHP versions, such as using the return value of a function in an if statement. Correcting such an issue is easy once you know which line of code is the culprit. If you can go through the steps I indicated above and tell me the error messages, I can turn around a fix very quickly.
It was hosted on an older version of php version 5.3.20 but I moved the site to a newer version of php but I am having the same issue on both hosting account. Right now it is running on php 7.2 but I can now switch to lower php version if needed.
I did all as described above but in the backend I get white screen and on frontend the listings and categories are gone but no error log visible or should I see that elsewhere?
Ah, the white page only occurs on the back-end. Interesting.
In addition to WP_DEBUG, you could set WP_DEBUG_LOG. This will write out messages to a file called debug.log, located in your site’s wp-content directory.
define('WP_DEBUG_LOG', true);
If you already have a debug.log file in that directory, you can feel free to delete it. It will get re-created when new messages are written. Then go back to trying to refresh the admin and take a look at the content of the log file. We are looking for any error or fatal error.
You should try accessing the root of the admin /wp-admin, and not only the Link Library admin section.
- This reply was modified 6 years, 5 months ago by Yannick Lefebvre.
I have a similar problem sadly –
Wordpress 4.9.6
MYSQL 5.6.39
PHP 5.6.36Link Library 6.0.25 (updated to the latest edition within 24 hours of it being released but sadly, didn’t check that it was all working OK so not sure when it failed.
I now seem to have two copies of every link added in the Library, one without the Assigned Category, one with, and the links Pages have the text from the page itself but no links at all and the message that:
“All of your links must be assigned at least to one category to be displayed” and there ios a bit about “Robothumb” generating the page images.Just cracked it – the upgrade somewhere had re-assigned all the category ID values to new values. ??
Yes. All links from the old format get converted to custom post types in version 6.0. As part of this process, all categories are also re-created, which created new IDs. I displayed a message at the top of the admin with an FAQ section that mentioned this. I guess you dismissed that message before reading it.
As for the Robothumb message, that is usually displayed when you have the option called ‘Use thumbnail service for dynamic link images’ checked in the Thumbnails tab of your library configuration.
Hi Yannick – in the words of Homer Simpson … D’oh!!
Yes, I was aware of the origin of the Robothumb words on the page but added it to my message here as I didn’t know if it was relevant or not. Better to add it and not be needed than to have not added it and youask “Did you see the Robothumb message …..”
Many thanks.
I still don′t know what to do. Luckily I have a backup of the old version which has stored all my added links but when I press update I still get white screen in backend admin area.
I have disabled all plugins and use now default twenty sixteen theme.
Also I see this error message in the backend:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; link_library_plugin has a deprecated constructor in /home/huurautovoordeel/public_html/gratislinkbuilding.com/wp-content/plugins/link-library/link-library.php on line 103Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; link_library_plugin_admin has a deprecated constructor in /home/huurautovoordeel/public_html/gratislinkbuilding.com/wp-content/plugins/link-library/link-library-admin.php on line 20
What can I do?
Styling Designs: The error messages that you are seeing in the backend relate to the old version of Link Library that you are using. If you installed 5.9.15.8, these should go away: https://downloads.www.ads-software.com/plugin/link-library.LinkLibrary_5.9.15.8.zip
In terms of being able to migrate to the latest 6.1.x versions, I would still need to get a list of errors that occur when you try to upgrade to latest version.
Did you set the WP_DEBUG_LOG and WP_DEBUG variables to true in your wp-config.php file, then re-upload the modified version of the file via FTP? If so, did you look for a file called debug.log under the wp-content folder of your site, again via FTP?
If the debug.log file is very long, you can always delete it and it will get re-created when errors arise.
If you are still having trouble, please export your library configuration to ylefebvre at gmail and I can see if there is anything else I can do remotely.
as I said in first message, updating plugin will result in white screen backend, I will send the export library configuration.
ok message send, hope you can help.
- The topic ‘Updating plugin to Version: 6.0.24 breaks site’ is closed to new replies.