Charles_cz
Baby Bird
Hi guys, I have upgraded to XenWord Pro 2018.02.04 and XenForo 2
Now I have a problem when I enable creating Thread for Custom Post. I am getting error as shown below. That is important part for me. How can I fix that? It has worked before the upgrade.
Please let me know. Thank you. Charles
An exception occurred: [TypeError] Argument 2 passed to XF\Service\Thread\Creator::__construct() must be an instance of XF\Entity\Forum, null given, called in /home/evergr49/public_html/forum/src/XF/Container.php on line 274 in src/XF/Service/Thread/Creator.php on line 49
Now I have a problem when I enable creating Thread for Custom Post. I am getting error as shown below. That is important part for me. How can I fix that? It has worked before the upgrade.
Please let me know. Thank you. Charles
An exception occurred: [TypeError] Argument 2 passed to XF\Service\Thread\Creator::__construct() must be an instance of XF\Entity\Forum, null given, called in /home/evergr49/public_html/forum/src/XF/Container.php on line 274 in src/XF/Service/Thread/Creator.php on line 49
- XF\Service\Thread\Creator->__construct() in src/XF/Container.php at line 274
- XF\Container->createObject() in src/XF/App.php at line 1322
- XF\App->XF\{closure}() in src/XF/Container.php at line 228
- XF\Container->create() in src/XF/App.php at line 2466
- XF\App->service() in src/XF.php at line 526
- XF::service() in /home/evergr49/public_html/wp-content/plugins/Xenword20180204/src/Includes/Threads/Post.php at line 85
- XenWord\Includes\Threads\Post->insert() in /home/evergr49/public_html/wp-content/plugins/Xenword20180204/src/Includes/Threads/Post.php at line 59
- XenWord\Includes\Threads\Post->xenword_transitions() in /home/evergr49/public_html/wp-includes/class-wp-hook.php at line 286
- WP_Hook->apply_filters() in /home/evergr49/public_html/wp-includes/class-wp-hook.php at line 310
- WP_Hook->do_action() in /home/evergr49/public_html/wp-includes/plugin.php at line 453
- do_action() in /home/evergr49/public_html/wp-includes/post.php at line 4036
- wp_transition_post_status() in /home/evergr49/public_html/wp-includes/post.php at line 3496
- wp_insert_post() in /home/evergr49/public_html/wp-includes/post.php at line 3654
- wp_update_post() in /home/evergr49/public_html/wp-admin/includes/post.php at line 377
- edit_post() in /home/evergr49/public_html/wp-admin/post.php at line 194