Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author David Aguilera

    (@davilera)

    Hi!

    Can you please take a look at your server’s error log and let me know what’s in there, when a 503 error is triggered? I need a few more clues to understand what’s amiss :-S

    Thanks!

    Thread Starter Sagar Gulati

    (@sagargulati)

    The errors are various coming one by one and affecting other things due to the plugin.
    If plugin is enabled, it shows 503 error or the website doesn’t even open (JUST THE HOMEPAGE)

    Here is the error log:

    [Wed Mar 09 09:07:30.543586 2016] [proxy_fcgi:error] [pid 18125:tid 139837792827136] [client 50.28.59.212:49423] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 65552 bytes) in /var/www/html/wp/chutiye/wp-includes/shortcodes.php on line 351\n'
    [Wed Mar 09 09:40:38.814799 2016] [proxy_fcgi:error] [pid 18125:tid 139835349837568] [client 50.28.59.212:51072] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/html/wp/chutiye/wp-includes/formatting.php on line 220\n', referer: https://imgur.com/seVJI7i
    [Wed Mar 09 09:40:47.813119 2016] [proxy_fcgi:error] [pid 18125:tid 139835618666240] [client 50.28.59.212:51072] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/html/wp/chutiye/wp-includes/formatting.php on line 220\n', referer: https://imgur.com/seVJI7i
    [Wed Mar 09 09:40:56.743343 2016] [proxy_fcgi:error] [pid 18125:tid 139835643868928] [client 50.28.59.212:51072] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /var/www/html/wp/chutiye/wp-includes/formatting.php on line 220\n', referer: https://imgur.com/seVJI7i
    [Wed Mar 09 09:41:05.695448 2016] [proxy_fcgi:error] [pid 18125:tid 139835173418752] [client 50.28.59.212:51072] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/html/wp/chutiye/wp-includes/formatting.php on line 220\n', referer: https://imgur.com/seVJI7i
    [Wed Mar 09 09:41:14.571925 2016] [proxy_fcgi:error] [pid 18125:tid 139835039004416] [client 50.28.59.212:51072] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/html/wp/chutiye/wp-includes/formatting.php on line 220\n', referer: https://imgur.com/seVJI7i
    [Wed Mar 09 10:12:32.130021 2016] [proxy_fcgi:error] [pid 18125:tid 139833283208960] [client 50.28.59.212:52747] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 65552 bytes) in /var/www/html/wp/chutiye/wp-includes/shortcodes.php on line 351\n'
    [Wed Mar 09 10:51:01.153588 2016] [proxy_fcgi:error] [pid 18125:tid 139837045876480] [client 50.28.59.212:52855] AH01071: Got error 'Primary script unknown\n'
    
    [Wed Mar 09 15:34:22.566692 2016] [proxy_fcgi:error] [pid 18125:tid 139837473904384] [client 50.28.59.212:39499] AH01071: Got error 'Primary script unknown\n'
    [Wed Mar 09 15:35:57.565590 2016] [proxy_fcgi:error] [pid 18125:tid 139836701775616] [client 50.28.59.212:41742] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 65552 bytes) in /var/www/html/wp/chutiye/wp-includes/shortcodes.php on line 351\n'
    [Wed Mar 09 15:40:37.729651 2016] [proxy_fcgi:error] [pid 18125:tid 139834190505728] [client 50.28.59.212:39838] AH01071: Got error 'PHP message: WordPress database error Column 'userloginid' cannot be null for query INSERT INTO <code>wp_adblock</code> (<code>ip</code>, <code>usertime</code>, <code>userloginid</code>, <code>usercountry</code>, <code>adblock_status</code>) VALUES ('50.28.59.212', '1457518237', NULL, 'United States', 'NO') made by do_action('wp_ajax_nopriv_adblockvisitor'), call_user_func_array, adblockvisitor_callback\n', referer: https://www.sharingtricks.com/tutorials/nelio-external-featured-image-support-to-newspaper-theme/
    [Wed Mar 09 15:40:59.948838 2016] [proxy_fcgi:error] [pid 18125:tid 139834702968576] [client 50.28.59.212:39862] AH01071: Got error 'PHP message: WordPress database error Column 'userloginid' cannot be null for query INSERT INTO <code>wp_adblock</code> (<code>ip</code>, <code>usertime</code>, <code>userloginid</code>, <code>usercountry</code>, <code>adblock_status</code>) VALUES ('50.28.59.212', '1457518259', NULL, 'United States', 'NO') made by do_action('wp_ajax_nopriv_adblockvisitor'), call_user_func_array, adblockvisitor_callback\n', referer: https://www.sharingtricks.com/tutorials/nelio-external-featured-image-support-to-newspaper-theme/
    [Wed Mar 09 16:04:30.577178 2016] [proxy_fcgi:error] [pid 18125:tid 139837062661888] [client 50.28.59.212:43203] AH01071: Got error 'Primary script unknown\n'
    [Wed Mar 09 16:11:23.615577 2016] [proxy_fcgi:error] [pid 18125:tid 139834669364992] [client 50.28.59.212:43539] AH01071: Got error 'Primary script unknown\n', referer: https://viralfeed.link/
    [Wed Mar 09 16:11:23.794833 2016] [proxy_fcgi:error] [pid 18125:tid 139835139815168] [client 50.28.59.212:43539] AH01071: Got error 'Primary script unknown\n', referer: https://viralfeed.link/application.php
    [Wed Mar 09 16:15:15.192921 2016] [proxy_fcgi:error] [pid 18125:tid 139838229247744] [client 50.28.59.212:41640] AH01071: Got error 'Primary script unknown\n', referer: https://wittyidiots.com//xmlrpc.php
    [Wed Mar 09 16:22:18.676189 2016] [proxy_fcgi:error] [pid 18125:tid 139836903200512] [client 50.28.59.212:41931] AH01071: Got error 'Primary script unknown\n', referer: https://wittyidiots.com//xmlrpc.php
    [Wed Mar 09 16:22:59.572926 2016] [proxy_fcgi:error] [pid 18125:tid 139835055806208] [client 50.28.59.212:44163] AH01071: Got error 'Primary script unknown\n'
    [Wed Mar 09 16:26:08.359493 2016] [proxy_fcgi:error] [pid 18125:tid 139833711654656] [client 50.28.59.212:42181] AH01071: Got error 'PHP message: WordPress database error Column 'userloginid' cannot be null for query INSERT INTO <code>wp_adblock</code> (<code>ip</code>, <code>usertime</code>, <code>userloginid</code>, <code>usercountry</code>, <code>adblock_status</code>) VALUES ('50.28.59.212', '1457520968', NULL, 'United States', 'NO') made by do_action('wp_ajax_nopriv_adblockvisitor'), call_user_func_array, adblockvisitor_callback\n', referer: https://www.sharingtricks.com/tutorials/xss-protection-for-wordpress-4-2/
    [Wed Mar 09 16:28:32.079256 2016] [proxy_fcgi:error] [pid 18125:tid 139836005107456] [client 50.28.59.212:42321] AH01071: Got error 'Primary script unknown\n', referer: https://wittyidiots.com//xmlrpc.php
    [Wed Mar 09 16:33:41.382046 2016] [proxy_fcgi:error] [pid 18125:tid 139835408643840] [client 50.28.59.212:42625] AH01071: Got error 'PHP message: WordPress database error Column 'userloginid' cannot be null for query INSERT INTO <code>wp_adblock</code> (<code>ip</code>, <code>usertime</code>, <code>userloginid</code>, <code>usercountry</code>, <code>adblock_status</code>) VALUES ('50.28.59.212', '1457521421', NULL, 'United States', 'NO') made by do_action('wp_ajax_nopriv_adblockvisitor'), call_user_func_array, adblockvisitor_callback\n', referer: https://www.sharingtricks.com/featured/first-ever-facebook-bot-robo-v1-1-beta/
    [Wed Mar 09 16:34:52.519181 2016] [proxy_fcgi:error] [pid 18125:tid 139835265828608] [client 50.28.59.212:42679] AH01071: Got error 'Primary script unknown\n', referer: https://wittyidiots.com//xmlrpc.php
    [Wed Mar 09 16:37:33.866193 2016] [proxy_fcgi:error] [pid 18125:tid 139837541046016] [client 50.28.59.212:44979] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 65552 bytes) in /var/www/html/wp/chutiye/wp-includes/shortcodes.php on line 351\n'
    [Wed Mar 09 17:23:26.602440 2016] [proxy_fcgi:error] [pid 18125:tid 139834534942464] [client 50.28.59.212:47394] AH01071: Got error 'PHP message: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 45 bytes) in /var/www/html/wp/chutiye/wp-includes/formatting.php on line 797\n'

    Our blog has already allocated with a high memory
    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

    Still the issues started to come after the plugin update.
    If we downgrade the plugin, everything works fine like before

    Thanks!

    Hi

    We have the same problem on our news site. The plugin does not work on our website the last day. When I activate the plugin, I am receiving “500 Internal Server Error” in my WordPress. :-S

    Thread Starter Sagar Gulati

    (@sagargulati)

    Yeah,
    Same issue here, its exhausting memory i think
    Will wait for the plugin author to help!

    Plugin Author David Aguilera

    (@davilera)

    Hi!

    I guess the issue appears because autoloading the first image that appears in the post as the featured image is not very effective. If you manually set your external featured images and want to keep using the plugin, try to add the following in your theme’s functions.php file:

    add_filter( 'nelioefi_use_first_image', '__return_false' );

    This will deactivate the autoloading feature and, if my guess is right, the issue should be gone. Please let me know if it helped!

    Thread Starter Sagar Gulati

    (@sagargulati)

    Did you managed to try it? Did it work? The reason to ask for help in the support that the author test the thing and let us know it works fine. We cannot do “TEST” on our live websites.

    Thanks!

    Plugin Author David Aguilera

    (@davilera)

    Did you managed to try it?

    Yes, I tried. That filter is super straight forward: it simply tells the plugin not to (a) look for and (b) use the first image that appears in the post content as your featured image.

    Looking for the first image of a post is quite demanding (we must retrieve the post content, run a regular expression on it, and extract the image—if any). I assume that all this workload is generating your 500 server errors, but I don’t know for sure.

    I uploaded a new version of the plugin that will reduce this workload by looking for the first image only once (we now save it in a post meta). That takes a little bit more space in your database, but saves a lot of processing time.

    Did it work?

    How can I know? My development installation is not throwing any errors. If I can’t reproduce the issue locally, I can’t know if the solution I propose solves it. And the thing is: we don’t know why you’re getting this issue (even though, I insist, my guess is it’s related to the feat. image auto-setting).

    The reason to ask for help in the support that the author test the thing and let us know it works fine.

    I’m sure you know I’m helping as much as I can. But there are some things that are out of my reach, and these include simulating your environment to reproduce your exact same issue and fixing it.

    We cannot do “TEST” on our live websites.

    I never asked you to test in your live website. Simply deploy a staging environment (there’s plenty of hosting providers that let you do that with just on click) and “test” my solution there. If you don’t have a staging environment, then I’m afraid you’ll have to test it in your live site. Should you have to test anything on your live site, test it when there’s less traffic (night? weekend?).

    Again, I hope that the filter I shared in my last reply helps you. Once you’ve been able to test it whenever you can, let us know if it did help.

    Thanks!

    Thread Starter Sagar Gulati

    (@sagargulati)

    Great,
    That helped, Thanks again!

    Also could you add a features which could help us add the support for the plugin for all themes, everything we change themes, we have to modify the theme source to utilize the nelio featured image as the source.

    Thanks!

    Plugin Author David Aguilera

    (@davilera)

    Glad to know it helped! ??

    I plan to improve NelioEFI in the future and, hopefully, one day it will no longer be necessary to tweak themes. But this is still work in progress and needs a lot of thinking.

    As per your request, it’d be really great. But I’m afraid that, if one has to tweak its theme to make it compatible with the plugin, there’s nothing we can do from the plugin’s perspective. There’s only one exception to that: when the theme offers its own hooks. In that case, I usually recommend adding the filter function in the theme’s functions.php file.

    Anyway, thanks for your proposal.

    Best,

    Thread Starter Sagar Gulati

    (@sagargulati)

    Great we will waiting for the update.
    Thanks ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘503 Errors and Uncertain Issues’ is closed to new replies.