Urgent Issue

Posted in: Newspaper
Post count: 92

I am facing a major problem with my site.

At first, I was just getting a 500 Internal Server Error whenever I clicked on “Edit page”. When I deactivate WP Bakery Page Builder this issue is resolved (but I, of course, want to be able to use this).

However, I’m now also receiving 404 Not Found error whenever I try to navigate to a page URL on my site. So I am utterly confused about what’s causing these issues.

I am attempted to reinstall the theme, reinstall the plugin and still no fix. I have also contacted my hosting and they instructed me to provide the following info to yourselves: PHP Fatal error: Call to undefined method td_util::get_post_meta_array() in /wp-content/themes/Newspaper/page.php on line 21

Which I assume relates to the following:

//read the custom single post settings – this setting overids all of them
$td_page = td_util::get_post_meta_array($post->ID, ‘td_page’);
if (!empty($td_page[‘td_sidebar_position’])) {
$loop_sidebar_position = $td_page[‘td_sidebar_position’];
}

Any help would be appreciated and urgently if possible as my site is currently down.

Hope you understand.

Thanks

Post count: 92

Managed to fix the 404 error…but I am still unable to resolve the conflict between the Bakery Page Builder. I still get the 500 Internal Server Error whenever I clicked on “Edit page”. Homepage blocks completely missing. The inner pages do appear but have the following text in the description box:

/* custom css */ .td_uid_1_5af923933cec3_rand { min-height: 0; } jQuery(window).load(function () { jQuery(‘body’).find(‘#td_uid_1_5af923933ce74 .td-element-style’).each(function (index, element) { jQuery(element).css(‘opacity’, 1); return; }); }); jQuery(window).ready(function () { // We need timeout because the content must be rendered and interpreted on client setTimeout(function () { var $content = jQuery(‘body’).find(‘#tdc-live-iframe’), refWindow = undefined; if ($content.length) { $content = $content.contents(); […]

Post count: 20688

Hi,

In some cases when 500 messages are displayed it is caused by low WP memory. The minimum recommended value would be 96M but it should be as high as possible. Many users have resolved similar issues by increasing the memory
https://forum.tagdiv.com/requirements-for-newspaper/
Gradually he memory is depleted, as plugins will consume most of it. That could be why there is no problem with WPBakery disabled, and a problem with it enabled.

Post count: 92

Hi it seemed to be an issue with an outdated php file. However in place of text on the “post masonry grid” I am getting the following code displayed below each thumbnail:

/* custom css */ .td_uid_1_5af9a2f05ca50_rand { min-height: 0; } jQuery(window).load(function () { jQuery(‘body’).find(‘#td_uid_1_5af9a2f05ca01 .td-element-style’).each(function (index, element) { jQuery(element).css(‘opacity’, 1); return; }); }); jQuery(window).ready(function () { // We need timeout because the content must be rendered and interpreted on client setTimeout(function () { var $content = jQuery(‘body’).find(‘#tdc-live-iframe’), refWindow = undefined; if ($content.length) { $content = $content.contents(); […]

I have spoken to my host providers and was advised that’s it’s something related to the following:

“It appears that the css code in question is inserted somewhere in the theme section. I haven’t found where exactly it’s located, unfortunately. I suggest that you address this issue to a developer as it’s related to the configuration of the specific theme.”

Post count: 20688

Hi,

So that code is appearing below every image in the post masonry grid. Does it happen in a new page when you place that element? What version of WPBakery page builder are you using?
Seems to mention custom CSS, check the section of custom code in the theme panel, check the WPBakery custom CSS as well
https://www.screencast.com/t/VSTk4smxAHp
I tested that element, but it looks right to me
https://www.screencast.com/t/VSTk4smxAHp
I am using the latest version of the theme (8.7.4) and provided WPBakery plugin (5.4.7).

Post count: 92

Hi, yes it’s appearing below each and every image on all pages that use the post masonry grid.

Post count: 20688

Check if the tagDiv composer is active. Deactivate it if that is the case. Then clear all caching and check if the WPBakery element is displaying properly.

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