Authors Page issue followed by php issue – May not be newspaper theme issue.

Posted in: Newspaper
Post count: 181

Hello

I just realized a php issue after we started having author pages issues. I’m not sure if this is a TAGDIV composer issue because the issue only cleared if TAGDIV composer disabled or WPML CMS disabled. For your information; WPML informed us this is not related to WPML- at least for the moment. I’ll go deeper into the issue once I hear your suggestions about it.

Author Main Languge
Author Secondary Language

So we string translated author details but, Main language don’t appear.

Contacted Yoast; reply here

When we ran a cURL test on the relevant author URL Author Main Languge, we see a 403 or 500 internal server error as the HTTP response results. We also don’t see anywhere that Yoast SEO causes this issue, nor it redirects to a different page at all.

Contacted Hosting; reply here

We are able to replicate the 403 error via cURL. We updated your files permissions and the issue persists.

When we rename your .htaccess file cURL shows a 404 error as shown below :

$ curl -sI Author Main Languge
HTTP/1.1 404 Not Found
Date: Tue, 18 Feb 2020 14:07:08 GMT
Connection: keep-alive
Set-Cookie: __cfduid=d1b130608b54ae7b56df6a8826823610d1582034828; expires=Thu, 19-Mar-20 14:07:08 GMT; path=/; domain=.XXX.COM; HttpOnly; SameSite=Lax
Strict-Transport-Security: max-age=63072000; includeSubDomains
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-Turbo-Charged-By: LiteSpeed
CF-Cache-Status: DYNAMIC
Expect-CT: max-age=604800, report-uri=”https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: cloudflare
CF-RAY: 567090cd2e05fe06-DTW

Contacted WPML; reply here

There’s fatal error on Uncaught Error: Call to a member function the_post() on null in /home/xxx/xxx.com/wp-includes/query.php:937

Image to the code; https://pasteboard.co/IVoIq5t.png

Besides; here’s the other debug logs about the theme

18-Feb-2020 13:22:54 UTC] PHP Fatal error: Uncaught Error: Call to a member function the_post() on null in /home/xxx/xxx.com/wp-includes/query.php:937
Stack trace:
#0 /home/xxx/xxx.com/wp-content/plugins/td-cloud-library/wp_templates/tdb_view_tag.php(17): the_post()
#1 /home/xxx/xxx.com/wp-includes/template-loader.php(98): include(‘/home/xx/…’)
#2 /home/xxx/xxx.com/wp-blog-header.php(19): require_once(‘/home/xxx/…’)
#3 /home/xxx/xxx.com/index.php(17): require(‘/home/xxx/…’)
#4 {main}
thrown in /home/xxx/xxx.com/wp-includes/query.php on line 937
[18-Feb-2020 13:55:56 UTC] PHP Warning: Use of undefined constant TDC_PATH_LEGACY – assumed ‘TDC_PATH_LEGACY’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 109
[18-Feb-2020 13:55:56 UTC] PHP Warning: Use of undefined constant TDSP_THEME_PATH – assumed ‘TDSP_THEME_PATH’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 113
[18-Feb-2020 13:55:56 UTC] PHP Warning: Use of undefined constant TDC_PATH_LEGACY – assumed ‘TDC_PATH_LEGACY’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 109
[18-Feb-2020 13:55:56 UTC] PHP Warning: Use of undefined constant TDSP_THEME_PATH – assumed ‘TDSP_THEME_PATH’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 113
[18-Feb-2020 13:56:14 UTC] PHP Warning: Use of undefined constant TDC_PATH_LEGACY – assumed ‘TDC_PATH_LEGACY’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 109
[18-Feb-2020 13:56:14 UTC] PHP Warning: Use of undefined constant TDSP_THEME_PATH – assumed ‘TDSP_THEME_PATH’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 113
[18-Feb-2020 13:56:15 UTC] PHP Warning: Use of undefined constant TDC_PATH_LEGACY – assumed ‘TDC_PATH_LEGACY’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 109
[18-Feb-2020 13:56:15 UTC] PHP Warning: Use of undefined constant TDSP_THEME_PATH – assumed ‘TDSP_THEME_PATH’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 113
[18-Feb-2020 13:56:51 UTC] PHP Fatal error: Uncaught Error: Call to a member function the_post() on null in /home/xxx/xxx.com/wp-includes/query.php:937

So, I’m looking forward to hear from you

  • This topic was modified 6 years by fatih-2.
Post count: 35449

Hi,

Please make sure that you do not have a plugin conflict with untested plugins, please deactivate all non theme/tested plugins, also if you are using child theme, clear all cache and try again.
The list of all tested plugins can be found in here: https://www.screencast.com/t/NNVYRGioUNs1

If there is still a problem, you can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look. Include a link to this topic in the email.

Thank you!

Post count: 181

Hi Calin

We have 2 licences for 2 different website, they have exactly the same plugins. If there was a conflict, it should have happened to our other site too.

I’m going to send you an email.

Thanks

Post count: 35449

Hi,

Also another thing that you can do is to make sure that all the settings are like in our requirements, please follow the guide carefully
https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.

Let me know the results!
Thank you!

Post count: 181

Hi Calin

We meet the requirements.

Thanks

Post count: 35449

Hi,

If the problem persists, you can make a full backup to your website and send us an email at contact@tagdiv.com and provide admin login, as well as cPanel. We will take a look. Include a link to this topic in the email.

Thank you!

Post count: 181

Hi Calin

I think Catalin is checking the site in the backend.

Thank you for following up!

Post count: 181

Hi Calin

We are still having the issue. It’s really frustrating..

Post count: 35449

Hi fatih-2, I’m sorry for the inconvenience!
Please continue this thread via email, there my colleagues have the possibility to login and check the problem.
Thank you for your understanding!

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.