This plugin makes the site down
-
We found the following errors that make the site down :
require(‘/nas/content/li…’)\n#17 {main}\n thrown in /nas/content/live/citybelievlive/wp-content/plugins/page-scroll-to-id/malihu-pagescroll2id.php on line 388The page I need help with: [log in to see the link]
-
@sharonbeyond Hello,
I see that you currently have the plugin activated in your site. Where or when does the error occur?
Can you copy/paste the exact error?
Also, can you provide with some info about your installation (WordPress version, PHP version, server type e.g. Linux or Windows etc.)?
Thanks!
YEs the plugin is activated,(it is a multisite) Dashboard of the site works fine, only the website is down, it shows this message :
There has been a critical error on this website.Learn more about troubleshooting WordPress.
https://citybelievers.churchwebsiteproject.com/jackson/ you can use this link to check the error message, u can ignore the above link posted first.
WP version 5.9.2
PHP version : 8@sharonbeyond Thanks for the info. I’ve just added a fix for this in plugin’s development version. Can you download and test it from the link below?
https://downloads.wordpress.org/plugin/page-scroll-to-id.zip
Simply replace the “Page scroll to id” plugin version you have installed with the one above. Test it and let me know π
Thank you. We have used the given plugin, but the problem still exists with the same error message on the site.
No problem.
Can you post the full error about the line 388? Because in the link you posted I can only see the “There has been a critical error on this website.” message.
Sure.
We found the following errors that make the site down :
require(β/nas/content/liβ¦β)\n#17 {main}\n thrown in /nas/content/live/citybelievlive/wp-content/plugins/page-scroll-to-id/malihu-pagescroll2id.php on line 388-
This reply was modified 4 years, 1 month ago by
sharonbeyond.
This is weird because I can’t tell how
require('/nas/content/li...')\n#17 {main}\nis related to the plugin code…1)Does the first site (cincinnati) where the plugin worked without issues, have the same critical error (same error as jackson site) now?
2)Does the error go away when you deactivate “Page scroll to id”?
3)Can you manually edit the plugin file in your admin > plugins > plugin file editor to give you the code to add and test?
Does the error go away when you deactivate βPage scroll to idβ?
Yes, when deactivating the plugin the site works fine
Can you manually edit the plugin file in your admin > plugins > plugin file editor to give you the code to add and test?
Yes please, i will add the given code
-
This reply was modified 4 years, 1 month ago by
sharonbeyond.
OK. In plugin file editor select “Page scroll to id”. Find the line 388 and replace:
for($i=1; $i<=count($instances); $i++){with:
$instances_count=(is_array($instances) || $instances instanceof Countable) ? count($instances) : 1; for($i=1; $i<=count($instances_count); $i++){Click “Update File”, test and let me know.
already these two codes exist on line 388 and 389
OK and the error still says about line 388?
require(β/nas/content/liβ¦β)\n#17 {main}\n thrown in /nas/content/live/citybelievlive/wp-content/plugins/page-scroll-to-id/malihu-pagescroll2id.php on line 388YES
Something else might happening because the error should now be on line 389 (since we added the 2 new lines of code).
Since your site is multisite, is there a chance that you need to change the plugin code in another place?
Is the plugin network activated?yes the plugin network activated
Do you have some kind of caching feature that might need flushing?
-
This reply was modified 4 years, 1 month ago by
The topic ‘This plugin makes the site down’ is closed to new replies.