• Resolved HKP

    (@hiskingdomprophecy)


    Hi Folks,

    For the last few days I am getting server Load Averages which cause occasional fatal errors and occasionally stop admin tasks e.g. deactivating a plugin.

    I just ran WP Debug and get this message:

    ” Undefined index: includeposts in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 29 ”

    Please advise.

    Regards and thanks,
    Angus

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor zymeth25

    (@zymeth25)

    Hi

    Thanks for reporting, there is a bug in the widget, will fix soon.

    Plugin Contributor zymeth25

    (@zymeth25)

    Actually, after double checking this I realised this is a one time error after last update. It should not appear in your logs again, let me know if it does.

    Thread Starter HKP

    (@hiskingdomprophecy)

    @zymeth25

    Thank you.

    I have checked again for a 5 minute period and it is not showing up.

    I’ll let you know if it recurs.

    Regards and thanks,
    Angus

    Thread Starter HKP

    (@hiskingdomprophecy)

    @zymeth25

    Sorry, my mistake. NOT RESOLVED – I had the log turned off.

    I just checked again. This is the full error message for the last error 10 minutes ago:

    [Sat May 01 17:40:15.789529 2021] [proxy_fcgi:error] [pid 29655:tid 140583834199808] [client 157.90.177.217:43554] AH01071: Got error 'PHP message: PHP Notice: Uninitialized string offset: 0 in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/class-media.php on line 1392PHP message: PHP Notice: Undefined index: includeposts in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 29PHP message: PHP Notice: Undefined index: includeposts in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 29PHP message: PHP Notice: Undefined index: includeposts in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 29PHP message: PHP Notice: Undefined index: includeposts in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 29PHP message: PHP Notice: Undefined index: includeposts in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 29'

    Plugin Contributor zymeth25

    (@zymeth25)

    Could you try it with an updated version of include/lcp-widget.php as linked below?

    https://github.com/klemens-st/List-Category-Posts/blob/aede3497b7b2bc5a8a44244e4cc052f66da17bd6/include/lcp-widget.php

    • This reply was modified 3 years, 10 months ago by zymeth25.
    Thread Starter HKP

    (@hiskingdomprophecy)

    @zymeth25

    I downloaded and installed the new lcp-widget.php.

    I now get this error message from the server:

    [Sat May 01 21:34:58.550725 2021] [proxy_fcgi:error] [pid 4001:tid 140583825807104] [client 100.26.153.174:63516] AH01071: Got error 'PHP message: PHP Warning: Use of undefined constant includeposts - assumed 'includeposts' (this will throw an Error in a future version of PHP) in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 28PHP message: PHP Warning: Use of undefined constant includeposts - assumed 'includeposts' (this will throw an Error in a future version of PHP) in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 28PHP message: PHP Warning: Use of undefined constant includeposts - assumed 'includeposts' (this will throw an Error in a future version of PHP) in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 28PHP message: PHP Warning: Use of undefined constant includeposts - assumed 'includeposts' (this will throw an Error in a future version of PHP) in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 28PHP message: PHP Warning: Use of undefined constant includeposts - assumed 'includeposts' (this will throw an Error in a future version of PHP) in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 28'

    Plugin Contributor zymeth25

    (@zymeth25)

    I updated the link shortly after posting my reply. Make sure you got the proper version.

    Thread Starter HKP

    (@hiskingdomprophecy)

    @zymeth25

    I understand.

    I have made a new file from: /github.com/klemens-st/List-Category-Posts/blob/aede3497b7b2bc5a8a44244e4cc052f66da17bd6/include/lcp-widget.php and uploaded it.

    I have cleared all caches again, and now after 15 minutes since I uploaded the revised file, there are no more server errors showing.

    It looks like this matter is now fixed.

    Thank you so much. This is most greatly appreciated as this is a plugin we just cannot do without!

    Regards and thanks,
    Angus

    Thread Starter HKP

    (@hiskingdomprophecy)

    @zymeth25

    Sadly, it looks like we’re not out of the woods yet.

    I just checked with Web Error Log, which was clear 5 hours ago. But it seems there is another issue.

    (FYI, I also passed this on to Cloudinary when I sent it to you originally, as both plugins were reporting similar errors. Cloudinary are working on a fix but have not told me of their timeline.)

    Now I am getting many of these:

    [Sun May 02 14:15:23.581573 2021] [proxy_fcgi:error] [pid 6358:tid 140583221630720] [client 185.191.171.38:30860] AH01071: Got error 'PHP message: PHP Notice: Uninitialized string offset: 0 in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/class-media.php on line 1392PHP message: PHP Notice: Uninitialized string offset: 0 in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/class-media.php on line 1392PHP message: PHP Notice: Undefined variable: includeposts in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 63PHP message: PHP Notice: Undefined variable: includeposts in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 63PHP message: PHP Notice: Undefined variable: includeposts in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 63PHP message: PHP Notice: Undefined variable: includeposts in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 63PHP message: PHP Notice: Undefined variable: includeposts in /home/hiskingd/domains/hiskingdomprophecy.com/private_html/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 63'

    Regards and thanks,
    Angus

    Plugin Contributor zymeth25

    (@zymeth25)

    Thread Starter HKP

    (@hiskingdomprophecy)

    @zymeth25

    Thank you. I have updated, cleared caches and will wait and report back.

    It seems the last fix lasted 16hrs. The relapse was only on 26 instances over a 1 minute period, after which I sent the previous message and report.

    I’ll let you know the result in about 20 hrs.

    Regards and thank,
    Angus

    Plugin Contributor zymeth25

    (@zymeth25)

    I assume you got no further PHP notices?

    Thread Starter HKP

    (@hiskingdomprophecy)

    @zymeth25

    Sorry…. forgot… My sincere apologies…

    All is well here and there have been NO more problems showing in either WP Debug for in Server Error Log for LCP Plugin.

    Thanks so much for resolving it for us.

    Regards,
    Angus

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Undefined index Error’ is closed to new replies.