Conversation
supportHello, thanks for you help with by my last problem. At the moment I try to update my php version. By using a version higher than 7.2 I get the follow allerts. Can you please help me? Deprecated: Array and string offset access syntax with curly braces is deprecated in /www/htdocs/w0173735/php-umstellung.forellenteich-angeln.com/wp-content/plugins/cp-related-posts/includes/porter-stemmer.clss.php on line 389 Deprecated: Array and string offset access syntax with curly braces is deprecated in /www/htdocs/w0173735/php-umstellung.forellenteich-angeln.com/wp-content/plugins/cp-related-posts/includes/porter-stemmer.clss.php on line 389 Deprecated: Array and string offset access syntax with curly braces is deprecated in /www/htdocs/w0173735/php-umstellung.forellenteich-angeln.com/wp-content/plugins/cp-related-posts/includes/porter-stemmer.clss.php on line 406 Deprecated: Array and string offset access syntax with curly braces is deprecated in /www/htdocs/w0173735/php-umstellung.forellenteich-angeln.com/wp-content/plugins/cp-related-posts/includes/porter-stemmer.clss.php on line 407 Deprecated: Array and string offset access syntax with curly braces is deprecated in /www/htdocs/w0173735/php-umstellung.forellenteich-angeln.com/wp-content/plugins/cp-related-posts/includes/porter-stemmer.clss.php on line 408 The page I need help with: [ log in to see the link]
Hello @oli89 Please, go to the plugins section on your WordPress, and let me know exactly the version number of your copy of our plugin. Best regards.
Hello @oli89 I’ve published, right now, an update of the plugin that should fix the issue reported. Could you install the latest update of the plugin and let me know if the issue persists, please? Best regards.
Dear codepeople, thanks for your fast answer. I have update now and the first looks look good, thanks very much. Best Regards
Dear @codepeople , sorry that I contact you again. After some days testing I found this allerts: Notice: Trying to access array offset on value of type null in /var/www/xxx/html/xxxmy-websitexxx/wp-includes/taxonomy.php on line 2639 Notice: Trying to access array offset on value of type null in /var/www/xxx/html/xxxmy-websitexxx/wp-includes/taxonomy.php on line 2639 Warning: Cannot modify header information – headers already sent by (output started at /var/www/xxx/html/xxxmy-websitexxx/wp-includes/taxonomy.php:2639) in /var/www/xxx/html/xxxmy-websitexxx/wp-admin/post.php on line 231 Warning: Cannot modify header information – headers already sent by (output started at /var/www/xxx/html/xxxmy-websitexxx/wp-includes/taxonomy.php:2639) in /var/www/xxx/html/xxxmy-websitexxx/wp-includes/pluggable.php on line 1281 Warning: Cannot modify header information – headers already sent by (output started at /var/www/xxx/html/xxxmy-websitexxx/wp-includes/taxonomy.php:2639) in /var/www/xxx/html/xxxmy-websitexxx/wp-includes/pluggable.php on line 1284 They only come, when I publish a post. After deactivating your plugin, there will be no more allerts. Can you please help me again? Best regards This reply was modified 6 years ago by oli89 .
Hello @oli89 I’m sorry, but the notices and warnings you are reporting now are not happening in the files of our plugin, as happened in the previous case. Could you indicate when this is happening exactly? Best regards. This reply was modified 6 years ago by codepeople .
Hello @codepeople , thanks for your fast answer. I use your plugin for many months without this problem. I see it now at first, after I update with you together to php 7.4, so I think its maybe a fact of this. Do you think this is possible? Best regards
Hello @oli89 But why are you sure these notices and warning are generated by our plugin, and not by any other plugin or theme installed on your website? When are generated these messages exactly? Best regards.
Dear @codepeople , sorry for my late answer. I only get these notices and warning when you plugin is acitv. If I deactivate you plugin there will be no more problems. Do you have any idea whats the problem? Best regards
Hello @oli89 I’ve debugged the error, and the issue is not caused by our plugin exactly. In my opinion WordPress has forgotten to check if the variable is an array in the following piece of code: $tt_ids[] = $term_info['term_taxonomy_id']; However, I’ve modified the code of our plugin to prevent the notice be generated into the code of the wp_remove_object_terms function of WordPress. Please, install the latest update of the plugin, and let me know if the notice persists. Best regards.
Good Morning @codepeople , thanks for your fast update. At the moment I can see ne more warnings, this looks good thanks. But now I see, that you suggest always the same post twice. You can see it on my site. There are 3 relatet post, but two of theme are the same. Can you please doublecheck this point? Best regards
Hello @oli89 The modifications in the plugin are not related with the issue you are reporting, Furthermore, I’ve installed the plugin in multiple websites, and this issue is not happening. I’m checking the HTML generated in your website, and I’ve detected tags into the related posts, that were not included by our plugin, like noscript with the same img tags. Furthermore, I see there is included a “lazyloaded” class to the tags. So, I guess there is another plugin in your WordPress that modifies the items in the related posts. Best regards.
Hello @codepeople , thanks very much for your great help. I have check and think a lot about this problem, but I can’t find a solution. By this there cames into my mind, that I chang a few posts into pages. Do your plugin maybe have an own libary, which have now both entries maybe in it? I have try to deinstall and reinstall your plugin, but it does not help. I am looking forward to hear from you. Best regards
Hello @oli89 Please, contact me directly through my private website to check your issue in detail: Support Best regards.
Hello @oli89 Please, go to the plugins section on your WordPress, and let me know exactly the version number of your copy of our plugin. Best regards.
Hello @oli89 I’ve published, right now, an update of the plugin that should fix the issue reported. Could you install the latest update of the plugin and let me know if the issue persists, please? Best regards.
Dear codepeople, thanks for your fast answer. I have update now and the first looks look good, thanks very much. Best Regards
Dear @codepeople , sorry that I contact you again. After some days testing I found this allerts: Notice: Trying to access array offset on value of type null in /var/www/xxx/html/xxxmy-websitexxx/wp-includes/taxonomy.php on line 2639 Notice: Trying to access array offset on value of type null in /var/www/xxx/html/xxxmy-websitexxx/wp-includes/taxonomy.php on line 2639 Warning: Cannot modify header information – headers already sent by (output started at /var/www/xxx/html/xxxmy-websitexxx/wp-includes/taxonomy.php:2639) in /var/www/xxx/html/xxxmy-websitexxx/wp-admin/post.php on line 231 Warning: Cannot modify header information – headers already sent by (output started at /var/www/xxx/html/xxxmy-websitexxx/wp-includes/taxonomy.php:2639) in /var/www/xxx/html/xxxmy-websitexxx/wp-includes/pluggable.php on line 1281 Warning: Cannot modify header information – headers already sent by (output started at /var/www/xxx/html/xxxmy-websitexxx/wp-includes/taxonomy.php:2639) in /var/www/xxx/html/xxxmy-websitexxx/wp-includes/pluggable.php on line 1284 They only come, when I publish a post. After deactivating your plugin, there will be no more allerts. Can you please help me again? Best regards This reply was modified 6 years ago by oli89 .
Hello @oli89 I’m sorry, but the notices and warnings you are reporting now are not happening in the files of our plugin, as happened in the previous case. Could you indicate when this is happening exactly? Best regards. This reply was modified 6 years ago by codepeople .
Hello @codepeople , thanks for your fast answer. I use your plugin for many months without this problem. I see it now at first, after I update with you together to php 7.4, so I think its maybe a fact of this. Do you think this is possible? Best regards
Hello @oli89 But why are you sure these notices and warning are generated by our plugin, and not by any other plugin or theme installed on your website? When are generated these messages exactly? Best regards.
Dear @codepeople , sorry for my late answer. I only get these notices and warning when you plugin is acitv. If I deactivate you plugin there will be no more problems. Do you have any idea whats the problem? Best regards
Hello @oli89 I’ve debugged the error, and the issue is not caused by our plugin exactly. In my opinion WordPress has forgotten to check if the variable is an array in the following piece of code: $tt_ids[] = $term_info['term_taxonomy_id']; However, I’ve modified the code of our plugin to prevent the notice be generated into the code of the wp_remove_object_terms function of WordPress. Please, install the latest update of the plugin, and let me know if the notice persists. Best regards.
Good Morning @codepeople , thanks for your fast update. At the moment I can see ne more warnings, this looks good thanks. But now I see, that you suggest always the same post twice. You can see it on my site. There are 3 relatet post, but two of theme are the same. Can you please doublecheck this point? Best regards
Hello @oli89 The modifications in the plugin are not related with the issue you are reporting, Furthermore, I’ve installed the plugin in multiple websites, and this issue is not happening. I’m checking the HTML generated in your website, and I’ve detected tags into the related posts, that were not included by our plugin, like noscript with the same img tags. Furthermore, I see there is included a “lazyloaded” class to the tags. So, I guess there is another plugin in your WordPress that modifies the items in the related posts. Best regards.
Hello @codepeople , thanks very much for your great help. I have check and think a lot about this problem, but I can’t find a solution. By this there cames into my mind, that I chang a few posts into pages. Do your plugin maybe have an own libary, which have now both entries maybe in it? I have try to deinstall and reinstall your plugin, but it does not help. I am looking forward to hear from you. Best regards
Hello @oli89 Please, contact me directly through my private website to check your issue in detail: Support Best regards.